diff options
author | Judah Schvimer <judah@mongodb.com> | 2018-04-20 09:54:04 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2018-04-20 09:54:04 -0400 |
commit | 5aec800d301a6806d82eac3a6bc5753b8c16dc5d (patch) | |
tree | 792f82f5c6ef0f039622817ffe48199e5ef41929 /jstests/noPassthrough/auth_reject_mismatching_logical_times.js | |
parent | 197390da1d7cfae131673debdbef53a29947f065 (diff) | |
download | mongo-5aec800d301a6806d82eac3a6bc5753b8c16dc5d.tar.gz |
SERVER-33165 Don't return from ReplSetTest.initiate until there is a stable checkpoint
Diffstat (limited to 'jstests/noPassthrough/auth_reject_mismatching_logical_times.js')
-rw-r--r-- | jstests/noPassthrough/auth_reject_mismatching_logical_times.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/noPassthrough/auth_reject_mismatching_logical_times.js b/jstests/noPassthrough/auth_reject_mismatching_logical_times.js index 804251c63a2..0d2a368ad49 100644 --- a/jstests/noPassthrough/auth_reject_mismatching_logical_times.js +++ b/jstests/noPassthrough/auth_reject_mismatching_logical_times.js @@ -45,7 +45,9 @@ // Add shard with auth enabled. const rst = new ReplSetTest({nodes: 2}); rst.startSet({keyFile: "jstests/libs/key1", shardsvr: ""}); - rst.initiate(); + + // TODO: Wait for stable checkpoint when SERVER-32672 is fixed. + rst.initiateWithAnyNodeAsPrimary(null, "replSetInitiate", {doNotWaitForStableCheckpoint: true}); assert.commandWorked(st.s.adminCommand({addShard: rst.getURL()})); const testDB = st.s.getDB("test"); |