diff options
author | Kristina Chodorow <kristina@10gen.com> | 2010-11-10 13:37:41 -0500 |
---|---|---|
committer | Kristina Chodorow <kristina@10gen.com> | 2010-11-10 13:37:41 -0500 |
commit | 82fbc63e7cd13d287147389132b4fe6f62fb798c (patch) | |
tree | d1ab3c8a1b5071f3239dbc66a558d2db5a8c9231 /jstests/replsets/initial_sync2.js | |
parent | dbf5897d45846ec019c5847328aaa485a5dc7a48 (diff) | |
download | mongo-82fbc63e7cd13d287147389132b4fe6f62fb798c.tar.gz |
rs test fix
Diffstat (limited to 'jstests/replsets/initial_sync2.js')
-rw-r--r-- | jstests/replsets/initial_sync2.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/initial_sync2.js b/jstests/replsets/initial_sync2.js index 528bc2937b1..bda97bb5884 100644 --- a/jstests/replsets/initial_sync2.js +++ b/jstests/replsets/initial_sync2.js @@ -111,7 +111,7 @@ reconnect(master); wait(function() { var status = admin.runCommand({replSetGetStatus:1}); printjson(status); - return status.members[0].state == 1; + return status.members && status.members[0].state == 1; }); |