From 148c7ceb21724da04204053dd296a2b7e1c43599 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Tue, 20 Aug 2024 20:09:32 -0700 Subject: [PATCH] tests: increase timeout for px4 health checks --- test/mavsdk_tests/autopilot_tester.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/mavsdk_tests/autopilot_tester.cpp b/test/mavsdk_tests/autopilot_tester.cpp index 19927daa09..5916de93cb 100644 --- a/test/mavsdk_tests/autopilot_tester.cpp +++ b/test/mavsdk_tests/autopilot_tester.cpp @@ -85,7 +85,7 @@ void AutopilotTester::wait_until_ready() // Wait until the system is healthy CHECK(poll_condition_with_timeout( - [this]() { return _telemetry->health_all_ok(); }, std::chrono::seconds(30))); + [this]() { return _telemetry->health_all_ok(); }, std::chrono::seconds(60))); // Note: There is a known bug in MAVSDK (https://github.com/mavlink/MAVSDK/issues/1852), // where `health_all_ok()` returning true doesn't actually mean vehicle is ready to accept @@ -96,7 +96,7 @@ void AutopilotTester::wait_until_ready() // Wait until we can arm CHECK(poll_condition_with_timeout( - [this]() { return _telemetry->health().is_armable; }, std::chrono::seconds(30))); + [this]() { return _telemetry->health().is_armable; }, std::chrono::seconds(60))); } void AutopilotTester::store_home()