summaryrefslogtreecommitdiff
path: root/jstests/sharding/sharding_multiple_ns_rs.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/sharding_multiple_ns_rs.js')
-rw-r--r--jstests/sharding/sharding_multiple_ns_rs.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/sharding/sharding_multiple_ns_rs.js b/jstests/sharding/sharding_multiple_ns_rs.js
index 183d6c24878..d59eac888cb 100644
--- a/jstests/sharding/sharding_multiple_ns_rs.js
+++ b/jstests/sharding/sharding_multiple_ns_rs.js
@@ -1,3 +1,9 @@
+// When checking UUID consistency, the shell attempts to run a command on the node it believes is
+// primary in each shard. However, this test shuts down the primary of the shard. Since whether or
+// not the shell detects the new primary before issuing the command is nondeterministic, skip the
+// consistency check for this test.
+TestData.skipCheckingUUIDsConsistentAcrossCluster = true;
+
(function() {
load("jstests/replsets/rslib.js");