From 97293aaa4dca0bd1d9ed9282324a9fc9b54780f3 Mon Sep 17 00:00:00 2001 From: ruperts Date: Wed, 20 Jun 2018 15:58:39 -0700 Subject: Be more generous with user time and sys time bounds in execution statistics tests. RELNOTES: None. PiperOrigin-RevId: 201432990 --- src/test/shell/integration/linux-sandbox_test.sh | 6 +++--- src/test/shell/integration/process-wrapper_test.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/test/shell/integration') 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" -- cgit v1.2.3