diff options
author | Randolph Tan <randolph@10gen.com> | 2020-02-06 10:50:21 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-10 19:42:41 +0000 |
commit | 55005a1d4a228174e03862a096029457ca5a7e7c (patch) | |
tree | 3855c247bca216280008ff12735ed358eb36b39d /jstests/sharding/update_replace_id.js | |
parent | 3ec37826afdf559ee038b83db7a3da9757bdf366 (diff) | |
download | mongo-55005a1d4a228174e03862a096029457ca5a7e7c.tar.gz |
SERVER-42191 Add a new test hook that checks that all orphaned documents are eventually deleted
Diffstat (limited to 'jstests/sharding/update_replace_id.js')
-rw-r--r-- | jstests/sharding/update_replace_id.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/sharding/update_replace_id.js b/jstests/sharding/update_replace_id.js index 8c6f8e29a99..1b5ab8f43e0 100644 --- a/jstests/sharding/update_replace_id.js +++ b/jstests/sharding/update_replace_id.js @@ -16,6 +16,9 @@ (function() { load("jstests/libs/profiler.js"); // For profilerHas*OrThrow helper functions. +// Test deliberately inserts orphans outside of migrations. +TestData.skipCheckOrphans = true; + const st = new ShardingTest({shards: 2, mongos: 1, config: 1, other: {enableBalancer: false}}); const mongosDB = st.s0.getDB(jsTestName()); |