node-ipc icon indicating copy to clipboard operation
node-ipc copied to clipboard

Flaky v9 macOS and Windows tests

Open achrinza opened this issue 3 years ago • 0 comments

The macOS and Windows tests are flaky. Specifically, this test:

1) TCP Socket verification of client Verify retry attempts by TCP client to connect to the server as per the value set in "maxRetries" parameter.
  Message:
    Expected 2 to be 3.
  Stack:
    Error: Expected 2 to be 3.
        at Timeout.testDelay [as _onTimeout] (/Users/runner/work/node-ipc/node-ipc/spec/support/jasmineTest/TCP/tcpSocketClient.spec.js:48:44)
        at ontimeout (timers.js:436:11)
        at tryOnTimeout (timers.js:300:5)
npm ERR! Test failed.  See above for more details.
        at listOnTimeout (timers.js:263:5)

11 specs, 1 failure

Example run: https://github.com/achrinza/node-ipc/runs/5631442749?check_suite_focus=true

This issue is track for a potential solution to improving the tests.

achrinza avatar Mar 25 '22 14:03 achrinza