[debugger] Increase thread suspend timeout.
This is failing on some QEMU bots that run slowly.
Change-Id: I4205e046c1bbc467503b2463ccf564d4a164a339
diff --git a/src/developer/debug/debug_agent/unwind_unittest.cc b/src/developer/debug/debug_agent/unwind_unittest.cc
index f35aeb59..efd94ed 100644
--- a/src/developer/debug/debug_agent/unwind_unittest.cc
+++ b/src/developer/debug/debug_agent/unwind_unittest.cc
@@ -64,9 +64,10 @@
zx_status_t status = thread.suspend(&token);
EXPECT_EQ(ZX_OK, status);
+ // Need long timeout when running on shared bots on QEMU.
zx_signals_t observed = 0;
status = thread.wait_one(ZX_THREAD_SUSPENDED,
- zx::deadline_after(zx::msec(100)), &observed);
+ zx::deadline_after(zx::sec(10)), &observed);
EXPECT_TRUE(observed & ZX_THREAD_SUSPENDED);
if (status != ZX_OK)
return zx::suspend_token();