-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
-
-
Query Execution 2021-05-03
Tests fails on asserts as below:
[js_test:include_cluster_time] assert.soon failed: () => changeStream.hasNext() The hang analyzer is automatically called in assert.soon functions. If you are *expecting* assert.soon to possibly fail, call assert.soon with {runHangAnalyzer: false} as the fifth argument (you can fill unused arguments with `undefined`).
Or
[js_test:collation] assert.soon failed: () => { [js_test:collation] assert.neq( [js_test:collation] cursor.id, [js_test:collation] NumberLong(0), [js_test:collation] "Cursor has been closed unexpectedly. Observed change stream events: " + [js_test:collation] tojson(changes)); [js_test:collation] cursor = self.getNextBatch(cursor); [js_test:collation] changes[i] = getNextDocFromCursor(cursor); [js_test:collation] return changes[i] !== null; [js_test:collation] } : timed out waiting for another result from the change stream, observed changes: [ null ], expected changes: 1 The hang analyzer is automatically called in assert.soon functions. If you are *expecting* assert.soon to possibly fail, call assert.soon with {runHangAnalyzer: false} as the fifth argument (you can fill unused arguments with `undefined`). [js_test:collation] doassert@src/mongo/shell/assert.js:20:14 [js_test:collation] assert.soon@src/mongo/shell/assert.js:382:17 [js_test:collation] ChangeStreamTest/self.getNextChanges@jstests/libs/change_stream_util.js:203:13 [js_test:collation] ChangeStreamTest/self.assertNextChangesEqual@jstests/libs/change_stream_util.js:289:23 [js_test:collation] @jstests/change_streams/collation.js:40:1 [js_test:collation] @jstests/change_streams/collation.js:5:2 [js_test:collation] uncaught exception: Error: assert.soon failed: () => { [js_test:collation] assert.neq( [js_test:collation] cursor.id, [js_test:collation] NumberLong(0), [js_test:collation] "Cursor has been closed unexpectedly. Observed change stream events: " + [js_test:collation] tojson(changes)); [js_test:collation] cursor = self.getNextBatch(cursor); [js_test:collation] changes[i] = getNextDocFromCursor(cursor); [js_test:collation] return changes[i] !== null; [js_test:collation] } : timed out waiting for another result from the change stream, observed changes: [ null ], expected changes: 1 The hang analyzer is automatically called in assert.soon functions. If you are *expecting* assert.soon to possibly fail, call assert.soon with {runHangAnalyzer: false} as the fifth argument (you can fill unused arguments with `undefined`). : [js_test:collation] doassert@src/mongo/shell/assert.js:20:14 [js_test:collation] assert.soon@src/mongo/shell/assert.js:382:17 [js_test:collation] ChangeStreamTest/self.getNextChanges@jstests/libs/change_stream_util.js:203:13 [js_test:collation] ChangeStreamTest/self.assertNextChangesEqual@jstests/libs/change_stream_util.js:289:23 [js_test:collation] @jstests/change_streams/collation.js:40:1 [js_test:collation] @jstests/change_streams/collation.js:5:2 [js_test:collation] failed to load: jstests/change_streams/collation.js [js_test:collation] exiting with code -3
Task.
- duplicates
-
SERVER-55672 [SBE][replica_sets] postBatchResumeToken missing after find on oplog
- Closed