summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-09-03 23:24:57 -0400
committerEliot Horowitz <eliot@10gen.com>2010-09-03 23:24:57 -0400
commit02013802f63d6cbe41bf814b2bc30d82e436d48f (patch)
tree0562a52b6c9d084f1bb5de3420846cf962438fba
parent1ae46abb18968047e6432361f1933ca724413467 (diff)
downloadmongo-r1.7.0.tar.gz
don't run 32-bt test on small oplog testr1.7.0
-rwxr-xr-xjstests/32bit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/32bit.js b/jstests/32bit.js
index e052beed624..06c94826267 100755
--- a/jstests/32bit.js
+++ b/jstests/32bit.js
@@ -116,7 +116,7 @@ function f() {
}
var h = (new Date()).getHours();
-if (!db._adminCommand("buildInfo").debug) {
+if (!db._adminCommand("buildInfo").debug && !db.runCommand( { serverStatus : 1 , repl : 1 } ).repl ){
if (forceSeedToBe || h <= 2 || h >= 22) {
/* this test is slow, so don't run during the day */
print("\n32bit.js running - this test is slow so only runs at night.");