diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2020-06-08 17:41:55 +0100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-09 20:24:37 +0000 |
commit | 697ec820c58a591e833bd1f3ca5e3155fb6babae (patch) | |
tree | bdd46adccf774906df655825372e906db1e0fee8 /jstests/change_streams | |
parent | c277251fb7bce31be749a236a07bdc7b3412b173 (diff) | |
download | mongo-697ec820c58a591e833bd1f3ca5e3155fb6babae.tar.gz |
SERVER-48636 Increase assertEventDoesNotWakeCursor getMore timeout in only_wake_getmore_for_relevant_changes.js
Diffstat (limited to 'jstests/change_streams')
-rw-r--r-- | jstests/change_streams/only_wake_getmore_for_relevant_changes.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/change_streams/only_wake_getmore_for_relevant_changes.js b/jstests/change_streams/only_wake_getmore_for_relevant_changes.js index bfe84bcbd32..604720577a5 100644 --- a/jstests/change_streams/only_wake_getmore_for_relevant_changes.js +++ b/jstests/change_streams/only_wake_getmore_for_relevant_changes.js @@ -70,11 +70,11 @@ function assertEventDoesNotWakeCursor({collection, awaitDataCursorId, identifyin collection: collection, awaitDataCursorId: awaitDataCursorId, identifyingComment: identifyingComment, - maxTimeMS: 1000, + maxTimeMS: (10 * 1000), event: event, }); // Should have waited for at least 'maxTimeMS'. - assert.gt(elapsedMs, 900, "getMore returned before waiting for maxTimeMS"); + assert.gt(elapsedMs, 9500, "getMore returned before waiting for maxTimeMS"); const cursorResponse = result.cursor; // Cursor should be valid with no data. assert.neq(cursorResponse.id, 0); |