await new Promise(resolve => setImmediate(resolve)) was showing up quite often in tests and has now been reduced to await eventFlush(). Also, replication errors were being written to stdout, which broke the TAP stream. The errors are now instead printed as TAP comments.
await new Promise(resolve => setImmediate(resolve))
was showing up quite often in tests and has now been reduced toawait eventFlush()
. Also, replication errors were being written to stdout, which broke the TAP stream. The errors are now instead printed as TAP comments.