diff options
Diffstat (limited to 'jstests/sharding/mongos_rs_auth_shard_failure_tolerance.js')
-rw-r--r-- | jstests/sharding/mongos_rs_auth_shard_failure_tolerance.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jstests/sharding/mongos_rs_auth_shard_failure_tolerance.js b/jstests/sharding/mongos_rs_auth_shard_failure_tolerance.js index a5ae6c62aa6..774c1d7dd01 100644 --- a/jstests/sharding/mongos_rs_auth_shard_failure_tolerance.js +++ b/jstests/sharding/mongos_rs_auth_shard_failure_tolerance.js @@ -15,6 +15,15 @@ // shard does not have a primary. TestData.skipCheckingUUIDsConsistentAcrossCluster = true; +// Replica set nodes started with --shardsvr do not enable key generation until they are added to a +// sharded cluster and reject commands with gossiped clusterTime from users without the +// advanceClusterTime privilege. This causes ShardingTest setup to fail because the shell briefly +// authenticates as __system and recieves clusterTime metadata then will fail trying to gossip that +// time later in setup. +// +// TODO SERVER-32672: remove this flag. +TestData.skipGossipingClusterTime = true; + var options = {rs: true, rsOptions: {nodes: 2}, keyFile: "jstests/libs/key1"}; var st = new ShardingTest({shards: 3, mongos: 1, other: options}); |