summaryrefslogtreecommitdiff
path: root/jstests/replsets/replset5.js
blob: dbc2b149b214c1ed0a1e3982fdd956d1db0bfc7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
doTest = function( signal ) {

    // Test startup with seed list
    var replTest = new ReplSetTest( {name: 'testSet', nodes: 3, useSeedList: true} );

    var nodes = replTest.startSet();
    replTest.initiate();
    var master = replTest.getMaster();

    // End test
    replTest.stopSet( signal );
}

doTest( 15 );