-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Empty show more show less
macOS test runs for master are periodically failing with the following error:
[2020/03/21 03:07:12.069] 2062 passing (3m) [2020/03/21 03:07:12.069] 148 pending [2020/03/21 03:07:12.069] 1 failing [2020/03/21 03:07:12.069] 1) monitoring [2020/03/21 03:07:12.069] should record roundTripTime: [2020/03/21 03:07:12.069] Uncaught AssertionError: expected -0.0285898 to be above 0 [2020/03/21 03:07:12.069] + expected - actual [2020/03/21 03:07:12.069] --0.0285898 [2020/03/21 03:07:12.069] +0 [2020/03/21 03:07:12.069] at Proxy.assertAbove (node_modules/chai/lib/chai/core/assertions.js:1188:12) [2020/03/21 03:07:12.069] at Proxy.methodWrapper (node_modules/chai/lib/chai/utils/addMethod.js:57:25) [2020/03/21 03:07:12.069] at Timeout.setTimeout (test/unit/sdam/monitoring.test.js:51:18) [2020/03/21 03:07:12.069] at Timeout.wrapped [as _onTimeout] (node_modules/wtfnode/index.js:197:27)
it looks like an error with rounding
- duplicates
-
NODE-2684 use mock timers to deterministically test interruptable async timer
- Closed