diff options
author | Benety Goh <benety@mongodb.com> | 2017-01-24 15:18:33 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2017-01-24 15:18:33 -0500 |
commit | d0b894f791aa3a9e95d6d4cba8fdbdc5b14a4e81 (patch) | |
tree | 8506998b4f7784799d54e16a0af9196e30ad2bbd /jstests | |
parent | 3aefac9b571d5ff1fcf2da34f26ae1420acb3b25 (diff) | |
download | mongo-d0b894f791aa3a9e95d6d4cba8fdbdc5b14a4e81.tar.gz |
SERVER-26918 backup_restore_rolling.js is supported under WiredTiger only
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/noPassthrough/backup_restore_rolling.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/noPassthrough/backup_restore_rolling.js b/jstests/noPassthrough/backup_restore_rolling.js index f75157e7f88..bc11be6ce5e 100644 --- a/jstests/noPassthrough/backup_restore_rolling.js +++ b/jstests/noPassthrough/backup_restore_rolling.js @@ -22,6 +22,12 @@ load("jstests/noPassthrough/libs/backup_restore.js"); // Grab the storage engine, default is wiredTiger var storageEngine = jsTest.options().storageEngine || "wiredTiger"; + // Skip this test if not running with the "wiredTiger" storage engine. + if (storageEngine !== 'wiredTiger') { + jsTest.log('Skipping test because storageEngine is not "wiredTiger"'); + return; + } + // if rsync is not available on the host, then this test is skipped if (!runProgram('bash', '-c', 'which rsync')) { new BackupRestoreTest({ |