You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2014/02/25 04:42:29 UTC
git commit: Increase upper bound for user time in SystemCpuUsage test.
Repository: mesos
Updated Branches:
refs/heads/master 134ae1c9d -> d64829783
Increase upper bound for user time in SystemCpuUsage test.
Review: https://reviews.apache.org/r/18260
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d6482978
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d6482978
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d6482978
Branch: refs/heads/master
Commit: d6482978324edbc945116e5e1c20061e89a065d6
Parents: 134ae1c
Author: Ian Downes <ia...@gmail.com>
Authored: Mon Feb 24 19:41:50 2014 -0800
Committer: Benjamin Mahler <bm...@twitter.com>
Committed: Mon Feb 24 19:41:50 2014 -0800
----------------------------------------------------------------------
src/tests/isolator_tests.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/d6482978/src/tests/isolator_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/isolator_tests.cpp b/src/tests/isolator_tests.cpp
index 9ec285a..13f425b 100644
--- a/src/tests/isolator_tests.cpp
+++ b/src/tests/isolator_tests.cpp
@@ -182,7 +182,7 @@ TYPED_TEST(CpuIsolatorTest, UserCpuUsage)
EXPECT_LE(0.125, statistics.cpus_user_time_secs());
// Shouldn't be any appreciable system time.
- EXPECT_GT(0.025, statistics.cpus_system_time_secs());
+ EXPECT_GT(0.075, statistics.cpus_system_time_secs());
// Ensure all processes are killed.
AWAIT_READY(launcher.get()->destroy(containerId));