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

Commit 9c631755 authored by Jie Song's avatar Jie Song Committed by android-build-merger
Browse files

Merge "Increase DumpstateBoard timeout to 30s" into pi-dev am: 9ed310e5

am: b2f4eff1

Change-Id: I5888c9a959652ecaf3bfd80fe64bc1b8fdba31ee
parents f27a1aca b2f4eff1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1539,8 +1539,8 @@ void Dumpstate::DumpstateBoard() {
        });
    auto result = dumpstate_task.get_future();
    std::thread(std::move(dumpstate_task)).detach();
    if (result.wait_for(10s) != std::future_status::ready) {
        MYLOGE("dumpstateBoard timed out after 10s\n");
    if (result.wait_for(30s) != std::future_status::ready) {
        MYLOGE("dumpstateBoard timed out after 30s\n");
        return;
    }
    std::unique_ptr<ssize_t[]> file_sizes = result.get();