gul-cpp / gul14

General Utility Library for C++14
https://gul14.info/
GNU Lesser General Public License v2.1
2 stars 1 forks source link

Time-dependent time_util test fails occasionally on MacOS #75

Closed alt-graph closed 9 months ago

alt-graph commented 9 months ago

Another time-dependent test failing on the Github MacOS runner:

-------------------------------------------------------------------------------
Scenario: Negative or zero times make sleep() not wait
       When: sleep(0ms) is executed
       Then: the elapsed time is very very small
-------------------------------------------------------------------------------
../tests/test_time_util.cc:88
...............................................................................

../tests/test_time_util.cc:90: FAILED:
  REQUIRE( toc(t0) < 0.001 )
with expansion:
  0.00130301 < 0.001