mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
yet another rs test fix
This commit is contained in:
parent
c9e24c3b67
commit
21bed454ab
@ -88,8 +88,8 @@ admin_s2.runCommand({replSetFreeze:999999});
|
||||
wait(function() {
|
||||
var status = admin_s2.runCommand({replSetGetStatus:1});
|
||||
printjson(status);
|
||||
return status.members[2].state == 3 ||
|
||||
status.members[2].state == 2;
|
||||
return status.members &&
|
||||
(status.members[2].state == 3 || status.members[2].state == 2;
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user