test(mavsdk): raise RTL disarm timeout to 150s to match siblings

The four older VTOL RTL tests waited only 120s for disarm while running
the same climb-to-550m-and-land missions as the other RTL tests, which
already use 150s. 'RTL direct Mission Land' occasionally tipped just
over 120s of sim time (observed 123.76s), failing wait_until_disarmed.
Align all of them to 150s for margin.

Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
Julian Oes
2026-07-15 19:06:22 +12:00
committed by Ramon Roche
parent 734d511114
commit ac14e4a93e

View File

@@ -45,7 +45,7 @@ TEST_CASE("RTL direct Home", "[vtol]")
tester.set_rtl_appr_force(0);
tester.arm();
tester.execute_rtl_when_reaching_mission_sequence(2);
tester.wait_until_disarmed(std::chrono::seconds(120));
tester.wait_until_disarmed(std::chrono::seconds(150));
tester.check_home_within(5.0f);
}
@@ -60,7 +60,7 @@ TEST_CASE("RTL direct Mission Land", "[vtol]")
tester.set_rtl_type(1);
tester.arm();
tester.execute_rtl_when_reaching_mission_sequence(2);
tester.wait_until_disarmed(std::chrono::seconds(120));
tester.wait_until_disarmed(std::chrono::seconds(150));
tester.check_mission_land_within(5.0f);
}
@@ -75,7 +75,7 @@ TEST_CASE("RTL with Mission Landing", "[vtol]")
tester.arm();
tester.execute_rtl_when_reaching_mission_sequence(2);
tester.check_tracks_mission_raw(40.0f);
tester.wait_until_disarmed(std::chrono::seconds(120));
tester.wait_until_disarmed(std::chrono::seconds(150));
}
TEST_CASE("RTL with Reverse Mission", "[vtol]")
@@ -90,7 +90,7 @@ TEST_CASE("RTL with Reverse Mission", "[vtol]")
tester.arm();
tester.execute_rtl_when_reaching_mission_sequence(6);
//tester.check_tracks_mission_raw(35.0f);
tester.wait_until_disarmed(std::chrono::seconds(120));
tester.wait_until_disarmed(std::chrono::seconds(150));
}
TEST_CASE("RTL direct home without approaches", "[vtol]")