diff options
Diffstat (limited to 'jstests/repl/repl6.js')
-rw-r--r-- | jstests/repl/repl6.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/repl/repl6.js b/jstests/repl/repl6.js index ee24df19528..f4fdc9be753 100644 --- a/jstests/repl/repl6.js +++ b/jstests/repl/repl6.js @@ -10,8 +10,10 @@ soonCount = function( m, count ) { doTest = function( signal ) { - ms1 = new ReplTest( "repl6tests-1" ); - ms2 = new ReplTest( "repl6tests-2", ms1.ports[ 0 ] ); + ports = allocatePorts( 3 ); + + ms1 = new ReplTest( "repl6tests-1", [ ports[ 0 ], ports[ 1 ] ] ); + ms2 = new ReplTest( "repl6tests-2", [ ports[ 0 ], ports[ 2 ] ] ); m = ms1.start( true ); s1 = ms1.start( false ); |