summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/dumpstate.cpp
diff options
context:
space:
mode:
author Jie Song <jies@google.com> 2018-04-02 20:46:02 -0700
committer Jie Song <jies@google.com> 2018-04-02 20:46:02 -0700
commit1b584d062ea998cb17f424a47bbebd27f0258529 (patch)
tree3df1665a0995313bb45f8534608b00668a8fc1d8 /cmds/dumpstate/dumpstate.cpp
parent0cab4a530234efe62ab279ced52744de8833a69a (diff)
Increase DumpstateBoard timeout to 30s
Bug: 77494218 Test: adb bugreport # dumpstate_board.* generated with no error Change-Id: Iabaa46ea1f74e9c275d0394702bfe46ece3ef28a
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
-rw-r--r--cmds/dumpstate/dumpstate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 80ef788187..9d0c30b8b5 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1614,8 +1614,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();