0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
mongodb/jstests/noPassthrough/backup_restore_fsync_lock.js
nehakhatri5 076a499621 SERVER-32507 Mobile SE: Include more suites in evergreen variant
Included the suites noPassthrough and noPassthroughWithMongod in Mobile SE
evergreen variant. Excluded some of the failing jstests from the suites.
2018-01-18 08:52:14 +11:00

26 lines
779 B
JavaScript

/**
* Test the backup/restore process:
* - 3 node replica set
* - Mongo CRUD client
* - Mongo FSM client
* - fsyncLock Secondary
* - cp DB files
* - fsyncUnlock Secondary
* - Start mongod as hidden secondary
* - Wait until new hidden node becomes secondary
*
* Some methods for backup used in this test checkpoint the files in the dbpath. This technique will
* not work for ephemeral storage engines, as they do not store any data in the dbpath.
* @tags: [requires_persistence, requires_replication]
*/
load("jstests/noPassthrough/libs/backup_restore.js");
(function() {
"use strict";
// Run the fsyncLock test. Will return before testing for any engine that doesn't
// support fsyncLock
new BackupRestoreTest({backup: 'fsyncLock'}).run();
}());