summaryrefslogtreecommitdiff
path: root/jstests/dur
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-02-04 16:02:14 -0500
committerdwight <dwight@10gen.com>2011-02-04 16:02:14 -0500
commit7cc935306e35f9f61579972126431f633ac9835f (patch)
treee8b205cefca3e24fd6ff9fd6d8f32a603a83bf49 /jstests/dur
parentbda02722891fac55cb69e8ad15133c11b7e82401 (diff)
downloadmongo-7cc935306e35f9f61579972126431f633ac9835f.tar.gz
a_quick adjusted
Diffstat (limited to 'jstests/dur')
-rwxr-xr-xjstests/dur/a_quick.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/jstests/dur/a_quick.js b/jstests/dur/a_quick.js
index b5967b82d31..388572609f8 100755
--- a/jstests/dur/a_quick.js
+++ b/jstests/dur/a_quick.js
@@ -78,10 +78,13 @@ tst.log("check no journal files");
var jfiles = listFiles(path2 + "/journal");
if (jfiles.length) {
print("sleeping more waiting for mongod to stop");
- sleep(10000);
- jfiles = listFiles(path2 + "/journal");
-
- if (jfiles.length) {
+ sleep(10000);
+ removeFile(path2 + "/journal/prealloc.0");
+ removeFile(path2 + "/journal/prealloc.1");
+ removeFile(path2 + "/journal/prealloc.2");
+ jfiles = listFiles(path2 + "/journal");
+
+ if (jfiles.length) {
print("ERROR journal dir " + path2 + "/journal is not empty:");
printjson(jfiles);
print("\n\n");