Skip to content

"docker exec wc -c" test fails with Node.js v16.13.2 #1

@jwhitlock

Description

@jwhitlock

This test take 45ms on Node.js v14.17.5, but fails with a timeout on Node.js v16.13.2:

test('docker exec wc -c', async () => {

Test output:

    1) docker exec wc -c
    ✓ cat on server (512ms)
    ✓ exit code (504ms)
    ✓ connection limit
    ✓ automatic pausing (1008ms)
    ✓ session count
    ✓ resize (3513ms)


  6 passing (48s)
  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-client/test/test.js)
      at listOnTimeout (node:internal/timers:557:17)
      at processTimers (node:internal/timers:500:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions