summaryrefslogtreecommitdiff
path: root/jstests/change_streams
diff options
context:
space:
mode:
authorBernard Gorman <bernard.gorman@gmail.com>2020-06-08 17:41:55 +0100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-09 20:24:37 +0000
commit697ec820c58a591e833bd1f3ca5e3155fb6babae (patch)
treebdd46adccf774906df655825372e906db1e0fee8 /jstests/change_streams
parentc277251fb7bce31be749a236a07bdc7b3412b173 (diff)
downloadmongo-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.js4
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);