-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
This test takes 45ms on Node.js v14.17.5, but fails with a timeout on Node.js v16.13.2:
docker-exec-websocket-server/test/test.js
Line 124 in b6ad23c
| test('docker exec wc -c', async () => { |
Test output:
$ ./test/runtests.sh
#!/bin/bash -ve
# USAGE: Run this file using `npm test` (must run from repository root)
docker run --rm --name testserver ubuntu sleep 60 &
trap "docker kill testserver;" EXIT; sleep 1;
mocha --exit test/test.js
trying client
1) docker exec wc -c
✓ cat on server (511ms)
✓ exit code (503ms)
✓ connection limit
✓ automatic pausing (1007ms)
✓ session count
✓ resize (3514ms)
6 passing (49s)
1 failing
1) trying client
docker exec wc -c:
Error: Timeout of 40000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/john/src/docker-exec-websocket-server/test/test.js)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
docker kill testserver;
testserver
error Command failed with exit code 1.
This may be the root cause of taskcluster/docker-exec-websocket-client#1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels