summaryrefslogtreecommitdiff
path: root/jstests/sharding/move_chunk_remove_with_write_retryability.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 16:26:43 -0500
commit878d9058e2617506e9eaac03fc1348d7a9c5821a (patch)
treebd99f72b9a037120e7253d1fb1cb2af0c1a0cf60 /jstests/sharding/move_chunk_remove_with_write_retryability.js
parent3867aecb8eb2a0d8c4835f9adf3e76c83e607a10 (diff)
downloadmongo-878d9058e2617506e9eaac03fc1348d7a9c5821a.tar.gz
SERVER-31941 Don't run retryable writes tests with ephemeralForTest storage engine
(cherry picked from commit aacd508f5092b433df5bf0ea0e1c03844fffc2bb)
Diffstat (limited to 'jstests/sharding/move_chunk_remove_with_write_retryability.js')
-rw-r--r--jstests/sharding/move_chunk_remove_with_write_retryability.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/sharding/move_chunk_remove_with_write_retryability.js b/jstests/sharding/move_chunk_remove_with_write_retryability.js
index 0edd77e42ec..d47b44b5ca4 100644
--- a/jstests/sharding/move_chunk_remove_with_write_retryability.js
+++ b/jstests/sharding/move_chunk_remove_with_write_retryability.js
@@ -3,7 +3,9 @@ load("jstests/sharding/move_chunk_with_session_helper.js");
(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;
}