summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/server6733.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/noPassthrough/server6733.js b/jstests/noPassthrough/server6733.js
index 085f593c611..b447cf0b74c 100644
--- a/jstests/noPassthrough/server6733.js
+++ b/jstests/noPassthrough/server6733.js
@@ -29,10 +29,10 @@ var primaryAddress = getHostName()+":"+replSet.ports[0];
var bAddress = getHostName()+":"+replSet.ports[2];
print("Force A to sync from B");
-A.runCommand({replSetSyncFrom : bAddress});
assert.soon(
function() {
- return A.runCommand({replSetGetStatus : 1}).syncingTo == bAddress;
+ A.runCommand({replSetSyncFrom : bAddress});
+ return A.runCommand({replSetGetStatus : 1}).syncingTo === bAddress;
}
);
@@ -44,7 +44,7 @@ sleep(30000);
assert.soon(
function() {
- return A.runCommand({replSetGetStatus : 1}).syncingTo == primaryAddress;
+ return A.runCommand({replSetGetStatus : 1}).syncingTo === primaryAddress;
}
);