summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-02-07 12:31:50 -0500
committerdwight <dwight@10gen.com>2011-02-07 12:31:50 -0500
commitb5e5f8e87554cd131c9afbb141620f33bf37255d (patch)
tree0e3a11808b9184a0ca8899f7dfc2f608462953a9 /jstests
parent2173d54bd0440831c1378fd82ebb252abb7b01ce (diff)
downloadmongo-b5e5f8e87554cd131c9afbb141620f33bf37255d.tar.gz
test output log more
Diffstat (limited to 'jstests')
-rw-r--r--jstests/dur/dropdb.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/dur/dropdb.js b/jstests/dur/dropdb.js
index 72e02517aa2..dbc6f2926c6 100644
--- a/jstests/dur/dropdb.js
+++ b/jstests/dur/dropdb.js
@@ -73,8 +73,10 @@ function verify() {
var d = conn.getDB("test");
var count = d.foo.count();
if (count != 1) {
- sleep(5000); // easier to read then
- print("\n\n\ndropdb.js FAIL test.foo.count() should be 1 but is : " + count + "\n\n\n");
+ print("going to fail, count mismatch in verify()");
+ sleep(10000); // easier to read the output this way
+ print("\n\n\ndropdb.js FAIL test.foo.count() should be 1 but is : " + count);
+ print(d.foo.count() + "\n\n\n");
assert(false);
}
assert(d.foo.findOne()._id == 100, "100");