Skip to content

Flaky tests #99

@alecgibson

Description

@alecgibson

We've got some flaky tests that were sometimes failing the build before on Travis and are still failing now on GH Actions.

  1) db
       "after each" hook:
     Uncaught Error: Already closed
      at wrapErrorData (node_modules/sharedb/lib/client/connection.js:263:13)
      at Connection.handleMessage (node_modules/sharedb/lib/client/connection.js:191:11)
      at StreamSocket.socket.onmessage (node_modules/sharedb/lib/client/connection.js:142:18)
      at /home/travis/build/share/sharedb-mongo/node_modules/sharedb/lib/stream-socket.js:60:12
      at processTicksAndRejections (internal/process/task_queues.js:79:11)
  2) db
       "before each" hook for "subscribe bulk with readSnapshots rejectSnapshotRead special ignorable error":
     TypeError: Cannot read property 'call' of undefined
      at processImmediate (internal/timers.js:461:21)
  3) getOpsWithoutStrictLinking: true
       "after each" hook for "fetches ops 0-1 without fetching all ops":
     TypeError: Cannot read property 'close' of undefined
      at Context.<anonymous> (test/test_get_ops_without_strict_linking.js:36:13)
      at processImmediate (internal/timers.js:461:21)

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