Closed meyerj closed 7 years ago
BOOST_CHECK_CLOSE_FRACTION(left, right, tolerance) expects a tolerance given as fraction of absolute values (http://www.boost.org/doc/libs/1_62_0/libs/test/doc/html/boost_test/utf_reference/testing_tool_ref/assertion_boost_level_close_fraction.html). With the introduction of additional sleep delay of half a timeout cycle the timeout counter should be predictable enough for exact checks. However the checks could fail if the CPU is too busy to execute the FileDescriptorActivity.
BOOST_CHECK_CLOSE_FRACTION(left, right, tolerance)
BOOST_CHECK_CLOSE_FRACTION(left, right, tolerance)
expects a tolerance given as fraction of absolute values (http://www.boost.org/doc/libs/1_62_0/libs/test/doc/html/boost_test/utf_reference/testing_tool_ref/assertion_boost_level_close_fraction.html). With the introduction of additional sleep delay of half a timeout cycle the timeout counter should be predictable enough for exact checks. However the checks could fail if the CPU is too busy to execute the FileDescriptorActivity.