Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcfe6a49 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Increase callback waiting time to fix test flakiness." into main

parents 1c54793b 4b4e2e82
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1874,8 +1874,8 @@ TEST_F(DefaultVehicleHalTest, testHeartbeatEvent) {

    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));
    }