summaryrefslogtreecommitdiff
path: root/jstests/sharding/localhostAuthBypass.js
diff options
context:
space:
mode:
authorCheahuychou Mao <cheahuychou.mao@mongodb.com>2019-12-20 03:06:46 +0000
committerevergreen <evergreen@mongodb.com>2019-12-20 03:06:46 +0000
commitf3595d8e69c0b76a8bbe18f319e6e0c8f861072e (patch)
treefb06d75c7cb83956883280603e82e81f9a79bad3 /jstests/sharding/localhostAuthBypass.js
parent765f23ca79026f6b69232fbbd27dc7dcca3ecd7a (diff)
downloadmongo-f3595d8e69c0b76a8bbe18f319e6e0c8f861072e.tar.gz
SERVER-44917 Add ShardingTest hook to validate indexes are consistent across shards on shutdown
Diffstat (limited to 'jstests/sharding/localhostAuthBypass.js')
-rw-r--r--jstests/sharding/localhostAuthBypass.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/jstests/sharding/localhostAuthBypass.js b/jstests/sharding/localhostAuthBypass.js
index 6dd8a9d6d62..31103df7fe4 100644
--- a/jstests/sharding/localhostAuthBypass.js
+++ b/jstests/sharding/localhostAuthBypass.js
@@ -3,10 +3,11 @@
// This test is to ensure that localhost authentication works correctly against a sharded
// cluster whether they are hosted with "localhost" or a hostname.
-// Checking UUID consistency, which occurs on ShardingTest.stop, involves using a mongos to read
-// data on the config server, but this test uses a special shutdown function which stops the
-// mongoses before calling ShardingTest.stop.
+// Checking UUID and index consistency, which occurs on ShardingTest.stop, involves using a
+// mongos to read data on the config server, but this test uses a special shutdown function
+// which stops the mongoses before calling ShardingTest.stop.
TestData.skipCheckingUUIDsConsistentAcrossCluster = true;
+TestData.skipCheckingIndexesConsistentAcrossCluster = true;
(function() {
'use strict';