diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-10-22 14:23:42 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-10-22 14:23:42 +0000 |
commit | f0a46889a02d12bbb3ca40507a081c5ad45c7ac4 (patch) | |
tree | 5e11fe1fbc77f13ee9b27681b865eff5f9b8dc53 | |
parent | 912f4526813d1239d2b90edea9fda289896dd221 (diff) |
Reduce chance of failure
-rw-r--r-- | vespalib/src/tests/executor/threadstackexecutor_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/executor/threadstackexecutor_test.cpp b/vespalib/src/tests/executor/threadstackexecutor_test.cpp index 7fec2b76c06..e61dc071b62 100644 --- a/vespalib/src/tests/executor/threadstackexecutor_test.cpp +++ b/vespalib/src/tests/executor/threadstackexecutor_test.cpp @@ -217,7 +217,7 @@ TEST("Test that utilization is computed") { ThreadStackExecutor executor(1, 128_Ki); std::this_thread::sleep_for(1s); auto stats = executor.getStats(); - EXPECT_GREATER(0.01, stats.getUtil()); + EXPECT_GREATER(0.50, stats.getUtil()); } TEST_MAIN() { TEST_RUN_ALL(); } |