Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-03-12 14:57:51 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-03-16 13:21:46 +0300
commit9337a11d0a820df50620f479300dcdde516f563e (patch)
tree9b5c988afb60d3f0f0afe7f44d4c261985fe00fc /test
parent84d3f89aa4f3663a33aed3853ae48abd546e91a1 (diff)
Fix failure to execute with priority on Linux native dynamic_thread_pool_group.
Diffstat (limited to 'test')
-rw-r--r--test/tests/dynamic_thread_pool_group.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests/dynamic_thread_pool_group.cpp b/test/tests/dynamic_thread_pool_group.cpp
index 4989c585..66a49425 100644
--- a/test/tests/dynamic_thread_pool_group.cpp
+++ b/test/tests/dynamic_thread_pool_group.cpp
@@ -341,7 +341,7 @@ static inline void TestDynamicThreadPoolGroupNestingWorks()
shared_states[n].calc_stddev();
std::cout << " Standard deviation for nesting level " << (n + 1) << " was " << shared_states[n].stddev << std::endl;
}
- BOOST_CHECK(shared_states[MAX_NESTING - 1].stddev < shared_states[MAX_NESTING / 2].stddev / 2);
+ BOOST_CHECK(shared_states[MAX_NESTING - 1].stddev < shared_states[MAX_NESTING / 4].stddev * 3 / 4);
}
static inline void TestDynamicThreadPoolGroupIoAwareWorks()