summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVesselina Ratcheva <vesselina.ratcheva@10gen.com>2019-04-05 15:29:01 -0400
committerVesselina Ratcheva <vesselina.ratcheva@10gen.com>2019-04-08 16:10:40 -0400
commit025464d8fa18b5fdf68f5331ff1fd4830c420206 (patch)
tree515913c92ee63ed51a7af68baa8a8fa8436d5978
parentd4f2108cf99e6c4a3a93f6f71b0aa7aefa9ee353 (diff)
downloadmongo-025464d8fa18b5fdf68f5331ff1fd4830c420206.tar.gz
SERVER-40502 Turn off failpoint before shutting down test in ddl_ops_after_prepare_lock_failpoint.js
-rw-r--r--jstests/replsets/ddl_ops_after_prepare_lock_failpoint.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/replsets/ddl_ops_after_prepare_lock_failpoint.js b/jstests/replsets/ddl_ops_after_prepare_lock_failpoint.js
index 18b53446d60..eaab0667a7e 100644
--- a/jstests/replsets/ddl_ops_after_prepare_lock_failpoint.js
+++ b/jstests/replsets/ddl_ops_after_prepare_lock_failpoint.js
@@ -132,6 +132,9 @@
.getDatabase(dbName)
.getCollection(collName));
+ assert.commandWorked(
+ primary.adminCommand({configureFailPoint: "failNonIntentLocksIfWaitNeeded", mode: "off"}));
+
session.abortTransaction_forTesting();
rst.stopSet();
})();