summaryrefslogtreecommitdiff
path: root/jstests/dur
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-04-11 13:48:08 -0400
committerEric Milkie <milkie@10gen.com>2012-04-11 13:48:08 -0400
commit6628c4eaaef626b661eb681880e3e5b674ca953a (patch)
treeff53128fb9879f61dd14148f9ea25215e93a79f3 /jstests/dur
parent1413ccf13522394dfc87af4edd403b2d1610de87 (diff)
downloadmongo-6628c4eaaef626b661eb681880e3e5b674ca953a.tar.gz
stable test for every run
15 seconds was too short but 2 minutes seems too long.
Diffstat (limited to 'jstests/dur')
-rw-r--r--jstests/dur/dur2.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/jstests/dur/dur2.js b/jstests/dur/dur2.js
index dd0ab0f4a97..e44a79589c2 100644
--- a/jstests/dur/dur2.js
+++ b/jstests/dur/dur2.js
@@ -36,11 +36,7 @@ function work() {
// go long enough we will have time to kill it later during recovery
var j = 2;
- var MaxTime = 15;
- if (Math.random() < 0.1) {
- print("dur2.js DOING A LONGER (120 sec) PASS - if an error, try long pass to replicate");
- MaxTime = 120;
- }
+ MaxTime = 90;
while (1) {
d.foo.insert({ _id: j, z: x });
d.foo.update({ _id: j }, { $inc: { a: 1} });