summaryrefslogtreecommitdiff
path: root/jstests/sharding/config_rs_no_primary.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/config_rs_no_primary.js
parentf9a41c8419554d727381c0b5766193f48c0ddc98 (diff)
downloadmongo-62fe0f89e9fa15c69f912d31b822b3631f691fe7.tar.gz
SERVER-30511 call checkUUIDsConsistentAcrossCluster() before shutting down a ShardingTest
Diffstat (limited to 'jstests/sharding/config_rs_no_primary.js')
-rw-r--r--jstests/sharding/config_rs_no_primary.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/jstests/sharding/config_rs_no_primary.js b/jstests/sharding/config_rs_no_primary.js
index 11d9a8e41aa..fee859a994e 100644
--- a/jstests/sharding/config_rs_no_primary.js
+++ b/jstests/sharding/config_rs_no_primary.js
@@ -1,5 +1,10 @@
// Tests operation of the cluster when the config servers have no primary and thus the cluster
// metadata is in read-only mode.
+
+// Checking UUID consistency involves talking to the config server primary, but there is no config
+// server primary by the end of this test.
+TestData.skipCheckingUUIDsConsistentAcrossCluster = true;
+
(function() {
"use strict";
@@ -51,4 +56,4 @@
testOps(st.s);
st.stop();
-}()); \ No newline at end of file
+}());