summaryrefslogtreecommitdiff
path: root/jstests/sharding/sharding_multiple_ns_rs.js
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2017-08-22 18:06:47 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2017-09-25 11:27:23 -0400
commit62fe0f89e9fa15c69f912d31b822b3631f691fe7 (patch)
treef1f1644eee12ca54fd1a02d111d3155ea6707c21 /jstests/sharding/sharding_multiple_ns_rs.js
parentf9a41c8419554d727381c0b5766193f48c0ddc98 (diff)
downloadmongo-62fe0f89e9fa15c69f912d31b822b3631f691fe7.tar.gz
SERVER-30511 call checkUUIDsConsistentAcrossCluster() before shutting down a ShardingTest
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");