diff options
| author | 2022-07-08 16:40:32 +0100 | |
|---|---|---|
| committer | 2022-07-08 20:14:46 +0000 | |
| commit | f25ac91d58aaf62800ce49b92931df7718cfa196 (patch) | |
| tree | cdc8ac102f8a89d7e009ef15da44238fb7af8c23 | |
| parent | c37e3a0a532fb89b62753d0478c1ba3c9fc87bb3 (diff) | |
Increase child timeout
We're seeing timeout failures when running in a VM with nested
virtualization while compiling the BCP.
To fix the test breakage, and try to better understand the issue,
increase the timeout.
Test: presubmit
Bug: 238420132
Change-Id: I259c191038d4dc884dbd4d4a1433539b5c279222
| -rw-r--r-- | odrefresh/odrefresh.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odrefresh/odrefresh.cc b/odrefresh/odrefresh.cc index 0f0f7f1cff..ba32b0a5ea 100644 --- a/odrefresh/odrefresh.cc +++ b/odrefresh/odrefresh.cc @@ -101,10 +101,10 @@ namespace { constexpr const char* kCacheInfoFile = "cache-info.xml"; // Maximum execution time for odrefresh from start to end. -constexpr time_t kMaximumExecutionSeconds = 300; +constexpr time_t kMaximumExecutionSeconds = 480; // Maximum execution time for any child process spawned. -constexpr time_t kMaxChildProcessSeconds = 90; +constexpr time_t kMaxChildProcessSeconds = 120; constexpr mode_t kFileMode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; |