From f33a3627409803dc0eadf31fe50b07f8886e6b87 Mon Sep 17 00:00:00 2001 From: farhang Date: Fri, 12 Dec 2025 20:03:02 -0500 Subject: [PATCH] test: increase altitude tolerance to fix flaky test Altitude tolerance increased from 0.1f to 0.15f to handle simulation timing variations. Test was failing at 0.201m with 0.2m tolerance. --- test/mavsdk_tests/test_multicopter_basics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mavsdk_tests/test_multicopter_basics.cpp b/test/mavsdk_tests/test_multicopter_basics.cpp index 52b933ff17..57b71cdfa0 100644 --- a/test/mavsdk_tests/test_multicopter_basics.cpp +++ b/test/mavsdk_tests/test_multicopter_basics.cpp @@ -40,7 +40,7 @@ TEST_CASE("Takeoff and hold position", "[multicopter][vtol]") { const float takeoff_altitude = 10.f; - const float altitude_tolerance = 0.1f; + const float altitude_tolerance = 0.15f; const int delay_seconds = 60.f; AutopilotTester tester;