Merge "debuggerd_test: Scale timeouts by HwTimeoutMultiplier" into main

This commit is contained in:
Christopher Ferris 2023-11-09 01:41:35 +00:00 committed by Gerrit Code Review
commit 580e728696

View file

@ -94,7 +94,7 @@ constexpr char kWaitForDebuggerKey[] = "debug.debuggerd.wait_for_debugger";
if (sigaction(SIGALRM, &new_sigaction, &old_sigaction) != 0) { \
err(1, "sigaction failed"); \
} \
alarm(seconds); \
alarm(seconds * android::base::HwTimeoutMultiplier()); \
auto value = expr; \
int saved_errno = errno; \
if (sigaction(SIGALRM, &old_sigaction, nullptr) != 0) { \