diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-11-20 17:37:25 -0500 |
---|---|---|
committer | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-11-21 14:46:24 -0500 |
commit | aacd508f5092b433df5bf0ea0e1c03844fffc2bb (patch) | |
tree | fdec660b7962916a96a853514c8320fc8ddeb30e /jstests/sharding/retryable_writes.js | |
parent | b56de392a17c1b074dd71fb437a15d70318f132f (diff) | |
download | mongo-aacd508f5092b433df5bf0ea0e1c03844fffc2bb.tar.gz |
SERVER-31941 Don't run retryable writes tests with ephemeralForTest storage engine
Diffstat (limited to 'jstests/sharding/retryable_writes.js')
-rw-r--r-- | jstests/sharding/retryable_writes.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/sharding/retryable_writes.js b/jstests/sharding/retryable_writes.js index c8a76d3dce3..09d53276738 100644 --- a/jstests/sharding/retryable_writes.js +++ b/jstests/sharding/retryable_writes.js @@ -5,7 +5,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; } |