From 764b6d595ab9d594160f21ff867cab6f86d4eeac Mon Sep 17 00:00:00 2001 From: Kristina Date: Mon, 9 May 2011 15:43:25 -0400 Subject: fix test --- jstests/replsets/reconfig.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jstests/replsets/reconfig.js') diff --git a/jstests/replsets/reconfig.js b/jstests/replsets/reconfig.js index d1eb6ce1d68..6e81d7b5a95 100644 --- a/jstests/replsets/reconfig.js +++ b/jstests/replsets/reconfig.js @@ -1,6 +1,8 @@ // try reconfiguring with servers down +load("jstests/replsets/rslib.js"); + var replTest = new ReplSetTest({ name: 'testSet', nodes: 5 }); var nodes = replTest.startSet(); replTest.initiate(); @@ -38,6 +40,7 @@ replTest.stop(2); print("try to reconfigure with a 'majority' down"); oldVersion = config.version++; +reconnect(master); var result = master.getDB("admin").runCommand({replSetReconfig : config}); assert.eq(13144, result.assertionCode); -- cgit v1.2.1