mavsdk_tests: consistent 180s disarm timeout

This commit is contained in:
Daniel Agar 2020-11-16 14:35:21 -05:00
parent f5660c6b0c
commit fb1f360724
3 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ TEST_CASE("Land on GPS lost during mission (baro height mode)", "[multicopter][v
tester.prepare_square_mission(mission_options);
tester.arm();
tester.execute_mission_and_lose_gps();
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
tester.wait_until_disarmed(until_disarmed_timeout);
}
@ -64,7 +64,7 @@ TEST_CASE("Land on GPS lost during mission (GPS height mode)", "[multicopter][vt
tester.prepare_square_mission(mission_options);
tester.arm();
tester.execute_mission_and_lose_gps();
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
tester.wait_until_disarmed(until_disarmed_timeout);
}

View File

@ -42,7 +42,7 @@ TEST_CASE("Fly forward in position control", "[multicopter][vtol]")
tester.store_home();
tester.arm();
tester.fly_forward_in_posctl();
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
tester.wait_until_disarmed(until_disarmed_timeout);
tester.check_home_not_within(5.f);
}
@ -55,7 +55,7 @@ TEST_CASE("Fly forward in altitude control", "[multicopter][vtol]")
tester.store_home();
tester.arm();
tester.fly_forward_in_altctl();
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(90);
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
tester.wait_until_disarmed(until_disarmed_timeout);
tester.check_home_not_within(5.f);
}

View File

@ -44,7 +44,7 @@ TEST_CASE("Takeoff and Land", "[multicopter][vtol]")
tester.takeoff();
tester.wait_until_hovering();
tester.land();
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(30);
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
tester.wait_until_disarmed(until_disarmed_timeout);
}
@ -97,6 +97,6 @@ TEST_CASE("Fly straight Multicopter Mission", "[multicopter]")
tester.execute_mission();
tester.wait_until_hovering();
tester.execute_rtl();
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(120);
std::chrono::seconds until_disarmed_timeout = std::chrono::seconds(180);
tester.wait_until_disarmed(until_disarmed_timeout);
}