From 14186cf74f07b35e1d3add187d055c094fd60f7b Mon Sep 17 00:00:00 2001 From: Farhang <46557204+farhangnaderi@users.noreply.github.com> Date: Sat, 13 Dec 2025 13:13:23 -0500 Subject: [PATCH] [Tests] [CI] fix flaky altitude SITL test (#26106) * 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: increase altitude tolerance further to 0.3m * ci: re-add branch trigger for SITL tests * Revert "ci: re-add branch trigger for SITL tests" This reverts commit e5e4c9637b70a9d29247b82a52e11f1f2d0dcc59. --- 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..427e69c03f 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.2f; const int delay_seconds = 60.f; AutopilotTester tester;