diff options
author | Kristina <kristina@10gen.com> | 2011-05-09 15:43:25 -0400 |
---|---|---|
committer | Kristina <kristina@10gen.com> | 2011-05-09 15:45:45 -0400 |
commit | 764b6d595ab9d594160f21ff867cab6f86d4eeac (patch) | |
tree | 5359d5c19d6d2d464fd4ab95c74eed397f5c2225 /jstests/replsets/reconfig.js | |
parent | 6734bc5c88a6a162cd528de81b3a80a8014e2c8e (diff) | |
download | mongo-764b6d595ab9d594160f21ff867cab6f86d4eeac.tar.gz |
fix test
Diffstat (limited to 'jstests/replsets/reconfig.js')
-rw-r--r-- | jstests/replsets/reconfig.js | 3 |
1 files changed, 3 insertions, 0 deletions
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); |