summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-11-11 09:03:43 -0500
committermatt dannenberg <matt.dannenberg@10gen.com>2014-11-11 10:28:11 -0500
commit2b320ff2801f6a124b157e7e9edf46df2d18992c (patch)
tree7fc2fb36fc78fc0904c188d0892d724530e32012
parent6b73c5c63de972ebd39ab85c93f81e7040fe6950 (diff)
downloadmongo-2b320ff2801f6a124b157e7e9edf46df2d18992c.tar.gz
minor replsets/drain.js improvement
-rw-r--r--jstests/replsets/drain.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/drain.js b/jstests/replsets/drain.js
index fb8b07e91c4..37d56e0628b 100644
--- a/jstests/replsets/drain.js
+++ b/jstests/replsets/drain.js
@@ -54,6 +54,6 @@
// Check for at least two entries. There was one prior to freezing op application on the
// secondary and we cannot guarantee all writes reached the secondary's op queue prior to
// shutting down the original primary.
- assert.gt(primary.getDB("foo").foo.count(), 2);
+ assert.gte(primary.getDB("foo").foo.count(), 2);
})();