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-10 14:54:42 +0000 |
commit | adba26f7b6980e5d8b66b2cd7521a8b0eadffa8b (patch) | |
tree | 99fae22c4f590ce456c4295c96474100ed9a828e /jstests/change_streams | |
parent | bea79f76addfe4b754c8696db029c5b3c762041c (diff) | |
download | mongo-adba26f7b6980e5d8b66b2cd7521a8b0eadffa8b.tar.gz |
SERVER-48636 Increase assertEventDoesNotWakeCursor getMore timeout in only_wake_getmore_for_relevant_changes.js
(cherry picked from commit 697ec820c58a591e833bd1f3ca5e3155fb6babae)
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); |