summaryrefslogtreecommitdiff
path: root/jstests/sharding
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2019-01-12 09:54:35 -0500
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2019-01-14 16:03:53 -0500
commitf99c8d913706efc48d3b41672eebbb6166e1680b (patch)
treeffc766e2fcaae87a5cd771acfea10451e1ac2007 /jstests/sharding
parentddb5d16aa7a5854d326bff0b6d094b33f1b662b5 (diff)
downloadmongo-f99c8d913706efc48d3b41672eebbb6166e1680b.tar.gz
SERVER-38191 Enforce restriction on namespace for failpoints in write_ops
This reverts commit d19bd0c883a338e4f443399c928700381c682e32.
Diffstat (limited to 'jstests/sharding')
-rw-r--r--jstests/sharding/out_stale_unique_key.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/sharding/out_stale_unique_key.js b/jstests/sharding/out_stale_unique_key.js
index d42fffa0b51..02e4e36e0c5 100644
--- a/jstests/sharding/out_stale_unique_key.js
+++ b/jstests/sharding/out_stale_unique_key.js
@@ -159,11 +159,13 @@
// the inserts or updates.
testEpochChangeDuringAgg({
outSpec: {to: target.getName(), mode: "insertDocuments"},
- failpoint: "hangDuringBatchInsert"
+ failpoint: "hangDuringBatchInsert",
+ failpointData: {nss: target.getFullName()}
});
testEpochChangeDuringAgg({
outSpec: {to: target.getName(), mode: "replaceDocuments"},
- failpoint: "hangDuringBatchUpdate"
+ failpoint: "hangDuringBatchUpdate",
+ failpointData: {nss: target.getFullName()}
});
st.stop();