Merge "Increase callback waiting time to fix test flakiness." into main
diff --git a/automotive/vehicle/aidl/impl/current/vhal/test/DefaultVehicleHalTest.cpp b/automotive/vehicle/aidl/impl/current/vhal/test/DefaultVehicleHalTest.cpp
index ab5f667..3b89e5f 100644
--- a/automotive/vehicle/aidl/impl/current/vhal/test/DefaultVehicleHalTest.cpp
+++ b/automotive/vehicle/aidl/impl/current/vhal/test/DefaultVehicleHalTest.cpp
@@ -1874,8 +1874,8 @@
auto maybeResults = getCallback()->nextOnPropertyEventResults();
size_t retryCount = 0;
- // Add a 1s (100ms * 10) buffer time.
- while (!maybeResults.has_value() && retryCount < 10) {
+ // Add a 10s (100ms * 100) buffer time.
+ while (!maybeResults.has_value() && retryCount < 100) {
retryCount++;
std::this_thread::sleep_for(std::chrono::milliseconds(100));
}