diff options
Diffstat (limited to 'jstests/noPassthrough/auth_reject_mismatching_logical_times.js')
-rw-r--r-- | jstests/noPassthrough/auth_reject_mismatching_logical_times.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/jstests/noPassthrough/auth_reject_mismatching_logical_times.js b/jstests/noPassthrough/auth_reject_mismatching_logical_times.js index 13b971c7bc5..00b16f739ab 100644 --- a/jstests/noPassthrough/auth_reject_mismatching_logical_times.js +++ b/jstests/noPassthrough/auth_reject_mismatching_logical_times.js @@ -32,12 +32,8 @@ function assertAcceptsValidLogicalTime(db) { } // Start the sharding test with auth on. -// TODO: Remove 'shardAsReplicaSet: false' when SERVER-32672 is fixed. -const st = new ShardingTest({ - mongos: 1, - manualAddShard: true, - other: {keyFile: "jstests/libs/key1", shardAsReplicaSet: false} -}); +const st = + new ShardingTest({mongos: 1, manualAddShard: true, other: {keyFile: "jstests/libs/key1"}}); // Create admin user and authenticate as them. st.s.getDB("admin").createUser({user: "foo", pwd: "bar", roles: jsTest.adminUserRoles}); @@ -47,7 +43,6 @@ st.s.getDB("admin").auth("foo", "bar"); const rst = new ReplSetTest({nodes: 2}); rst.startSet({keyFile: "jstests/libs/key1", shardsvr: ""}); -// TODO: Wait for stable recovery timestamp when SERVER-32672 is fixed. rst.initiateWithAnyNodeAsPrimary( null, "replSetInitiate", {doNotWaitForStableRecoveryTimestamp: true}); assert.commandWorked(st.s.adminCommand({addShard: rst.getURL()})); |