diff options
Diffstat (limited to 'src/test/shell/integration/spend_cpu_time.cc')
-rw-r--r-- | src/test/shell/integration/spend_cpu_time.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/shell/integration/spend_cpu_time.cc b/src/test/shell/integration/spend_cpu_time.cc index 636a2a1692..cc0acfaaf5 100644 --- a/src/test/shell/integration/spend_cpu_time.cc +++ b/src/test/shell/integration/spend_cpu_time.cc @@ -31,7 +31,7 @@ static void WasteUserTime() { volatile_counter = 0; while (true) { volatile_counter++; - if (volatile_counter == 10000000) { + if (volatile_counter == 1000) { break; } } @@ -50,7 +50,7 @@ static void WasteSystemTime() { err(EXIT_FAILURE, "chdir() failed"); } volatile_counter++; - if (volatile_counter == 100000) { + if (volatile_counter == 1000) { break; } } |