diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-12-14 14:44:51 -0500 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-12-17 11:06:05 -0500 |
commit | cce23861d5a0141b556b3d476812d8d5ded71d5d (patch) | |
tree | 7b6da4b237c73dc3ab9685acfd3e0370fbf68701 /jstests | |
parent | 2f7ccbaa6ae394d773834ff8bd1fc9aae3a42287 (diff) | |
download | mongo-cce23861d5a0141b556b3d476812d8d5ded71d5d.tar.gz |
SERVER-38650 secondary_reads_timestamp_visibility.js must wait for operations to be applied on secondary
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/secondary_reads_timestamp_visibility.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/replsets/secondary_reads_timestamp_visibility.js b/jstests/replsets/secondary_reads_timestamp_visibility.js index 100eb630464..5fcb3c25f8c 100644 --- a/jstests/replsets/secondary_reads_timestamp_visibility.js +++ b/jstests/replsets/secondary_reads_timestamp_visibility.js @@ -35,6 +35,7 @@ } replSet.awaitLastOpCommitted(); + replSet.awaitReplication(); // Sanity check. assert.eq(secondaryDB.getCollection(collName).find({x: 0}).itcount(), 100); |