summaryrefslogtreecommitdiff
path: root/jstests/dur/oplog.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/dur/oplog.js')
-rwxr-xr-xjstests/dur/oplog.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/dur/oplog.js b/jstests/dur/oplog.js
index 8ded3c980a9..cd7d7c5e6ef 100755
--- a/jstests/dur/oplog.js
+++ b/jstests/dur/oplog.js
@@ -81,6 +81,9 @@ function work() {
d.foo.insert({ _id: 6, q: "aaaaa", b: big, z: 3 });
d.foo.update({ _id: 5 }, { $set: { z: 99} });
+ // assure writes applied in case we kill -9 on return from this function
+ d.getLastError();
+
log("endwork");
verify();