summaryrefslogtreecommitdiff
path: root/jstests/ssl/initial_sync1_x509.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/ssl/initial_sync1_x509.js')
-rw-r--r--jstests/ssl/initial_sync1_x509.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/ssl/initial_sync1_x509.js b/jstests/ssl/initial_sync1_x509.js
index 6c6932f049c..554c6328ca5 100644
--- a/jstests/ssl/initial_sync1_x509.js
+++ b/jstests/ssl/initial_sync1_x509.js
@@ -53,7 +53,7 @@ function runInitialSyncTest() {
for (var i = 0; i < 100; i++) {
bulk.insert({date: new Date(), x: i, str: "all the talk on the market"});
}
- assert.writeOK(bulk.execute());
+ assert.commandWorked(bulk.execute());
print("total in foo: " + foo.bar.count());
print("4. Make sure synced");
@@ -65,7 +65,7 @@ function runInitialSyncTest() {
for (var i = 0; i < 100; i++) {
bulk.insert({date: new Date(), x: i, str: "all the talk on the market"});
}
- assert.writeOK(bulk.execute());
+ assert.commandWorked(bulk.execute());
print("6. Everyone happy eventually");
replTest.awaitReplication(300000);