summaryrefslogtreecommitdiff
path: root/jstests/replsets/rollback_transaction_table.js
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2017-11-20 17:37:25 -0500
committerJack Mulrow <jack.mulrow@mongodb.com>2017-11-21 14:46:24 -0500
commitaacd508f5092b433df5bf0ea0e1c03844fffc2bb (patch)
treefdec660b7962916a96a853514c8320fc8ddeb30e /jstests/replsets/rollback_transaction_table.js
parentb56de392a17c1b074dd71fb437a15d70318f132f (diff)
downloadmongo-aacd508f5092b433df5bf0ea0e1c03844fffc2bb.tar.gz
SERVER-31941 Don't run retryable writes tests with ephemeralForTest storage engine
Diffstat (limited to 'jstests/replsets/rollback_transaction_table.js')
-rw-r--r--jstests/replsets/rollback_transaction_table.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/replsets/rollback_transaction_table.js b/jstests/replsets/rollback_transaction_table.js
index d48a4820713..6c32be314e8 100644
--- a/jstests/replsets/rollback_transaction_table.js
+++ b/jstests/replsets/rollback_transaction_table.js
@@ -20,7 +20,9 @@
(function() {
"use strict";
- if (jsTest.options().storageEngine === "mmapv1") {
+ load("jstests/libs/retryable_writes_util.js");
+
+ if (!RetryableWritesUtil.storageEngineSupportsRetryableWrites(jsTest.options().storageEngine)) {
jsTestLog("Retryable writes are not supported, skipping test");
return;
}