diff options
author | ruperts <ruperts@google.com> | 2018-06-20 15:58:39 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-20 16:00:03 -0700 |
commit | 97293aaa4dca0bd1d9ed9282324a9fc9b54780f3 (patch) | |
tree | cfb0eec80b7bbf8dfcc0ad4583c5bf0a4eba0ff2 /src/test/shell/integration | |
parent | c19284e3e8db5ed57097ed908c76dc902392c7ee (diff) |
Be more generous with user time and sys time bounds in execution statistics tests.
RELNOTES: None.
PiperOrigin-RevId: 201432990
Diffstat (limited to 'src/test/shell/integration')
-rwxr-xr-x | src/test/shell/integration/linux-sandbox_test.sh | 6 | ||||
-rwxr-xr-x | src/test/shell/integration/process-wrapper_test.sh | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/shell/integration/linux-sandbox_test.sh b/src/test/shell/integration/linux-sandbox_test.sh index 7352ab9d72..84a618bbea 100755 --- a/src/test/shell/integration/linux-sandbox_test.sh +++ b/src/test/shell/integration/linux-sandbox_test.sh @@ -261,15 +261,15 @@ function assert_linux_sandbox_exec_time() { } function test_stats_high_user_time() { - assert_linux_sandbox_exec_time 6 11 0 5 + assert_linux_sandbox_exec_time 10 19 0 9 } function test_stats_high_system_time() { - assert_linux_sandbox_exec_time 0 5 6 11 + assert_linux_sandbox_exec_time 0 9 10 19 } function test_stats_high_user_time_and_high_system_time() { - assert_linux_sandbox_exec_time 6 11 6 11 + assert_linux_sandbox_exec_time 10 19 10 19 } # The test shouldn't fail if the environment doesn't support running it. diff --git a/src/test/shell/integration/process-wrapper_test.sh b/src/test/shell/integration/process-wrapper_test.sh index 1d04606a08..b5e9d245a8 100755 --- a/src/test/shell/integration/process-wrapper_test.sh +++ b/src/test/shell/integration/process-wrapper_test.sh @@ -150,15 +150,15 @@ function assert_process_wrapper_exec_time() { } function test_stats_high_user_time() { - assert_process_wrapper_exec_time 6 11 0 5 + assert_process_wrapper_exec_time 10 19 0 9 } function test_stats_high_system_time() { - assert_process_wrapper_exec_time 0 5 6 11 + assert_process_wrapper_exec_time 0 9 10 19 } function test_stats_high_user_time_and_high_system_time() { - assert_process_wrapper_exec_time 6 11 6 11 + assert_process_wrapper_exec_time 10 19 10 19 } run_suite "process-wrapper" |