Bump the timeout on IDumpstateDevice
We're seeing increasingly frequent timeouts due to what appears to be
organic growth in the amount data dumped. These timeouts severely
restrict our ability to triage certain kinds of bugs, so upping the
timeout here.
Bug: 223417101
Test: No timeouts seen locally.
Change-Id: I75aceef2eaa78e5e20f6f27e76b62131f781a14f
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 0e9ce89..24b201f 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -2418,7 +2418,7 @@
// Given that bugreport is required to diagnose failures, it's better to set an arbitrary amount
// of timeout for IDumpstateDevice than to block the rest of bugreport. In the timeout case, we
// will kill the HAL and grab whatever it dumped in time.
- constexpr size_t timeout_sec = 30;
+ constexpr size_t timeout_sec = 45;
if (dumpstate_hal_handle_aidl != nullptr) {
DoDumpstateBoardAidl(dumpstate_hal_handle_aidl, dumpstate_fds, options_->bugreport_mode,