diff options
author | dwight <dwight@10gen.com> | 2011-02-04 16:02:14 -0500 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2011-02-04 16:02:14 -0500 |
commit | 7cc935306e35f9f61579972126431f633ac9835f (patch) | |
tree | e8b205cefca3e24fd6ff9fd6d8f32a603a83bf49 /jstests/dur | |
parent | bda02722891fac55cb69e8ad15133c11b7e82401 (diff) | |
download | mongo-7cc935306e35f9f61579972126431f633ac9835f.tar.gz |
a_quick adjusted
Diffstat (limited to 'jstests/dur')
-rwxr-xr-x | jstests/dur/a_quick.js | 11 |
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"); |