From 9337a11d0a820df50620f479300dcdde516f563e Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Fri, 12 Mar 2021 11:57:51 +0000 Subject: Fix failure to execute with priority on Linux native dynamic_thread_pool_group. --- test/tests/dynamic_thread_pool_group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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() -- cgit v1.2.3