summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2019-06-16 06:46:39 -0400
committerBenety Goh <benety@mongodb.com>2019-06-16 06:47:03 -0400
commit62e3fdae6062cf1fe5e55932eb6aa26f0f593d17 (patch)
tree172189ec94c58019f531adaf731cfe31c2ea5346 /jstests
parentea632e0e020c98e39b9c86f4e1f78fba7841e792 (diff)
downloadmongo-62e3fdae6062cf1fe5e55932eb6aa26f0f593d17.tar.gz
SERVER-39705 Always observe multikey changes in IndexBuildInterceptor::sideWrite.
This re-applies commit 5bd904dff90a0e6332d6d4630053141e6617c5de with additional change to the js test hybrid_sparse_compound_geo_index.js.
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/hybrid_sparse_compound_geo_index.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/noPassthrough/hybrid_sparse_compound_geo_index.js b/jstests/noPassthrough/hybrid_sparse_compound_geo_index.js
index e04a8f5c39d..a6f50f70151 100644
--- a/jstests/noPassthrough/hybrid_sparse_compound_geo_index.js
+++ b/jstests/noPassthrough/hybrid_sparse_compound_geo_index.js
@@ -45,10 +45,7 @@
IndexBuildTest.assertIndexes(coll, 2, ['_id_', 'a_1_b_2dsphere']);
let res = assert.commandWorked(coll.validate({full: true}));
- assert(!res.valid, 'validation did not fail on primary: ' + tojson(res));
-
- // Drop collection to avoid validation on shutdown.
- coll.drop();
+ assert(res.valid, 'validation failed on primary: ' + tojson(res));
rst.stopSet();
})();