diff options
author | Dwight <dwight@10gen.com> | 2011-01-03 11:35:45 -0500 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2011-01-03 11:35:45 -0500 |
commit | 1397e6354c5e174cebb38aff20a9e44962b9aa58 (patch) | |
tree | d5a3a2613362315c9f2a9834a99058157758895c /jstests | |
parent | 9e55fce95eb5cb1d57dd12ec76fc22bf6d9a7400 (diff) | |
download | mongo-1397e6354c5e174cebb38aff20a9e44962b9aa58.tar.gz |
make test output more readable
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/dur/dur2.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/jstests/dur/dur2.js b/jstests/dur/dur2.js index 64434dcb91e..2499a3ed214 100644 --- a/jstests/dur/dur2.js +++ b/jstests/dur/dur2.js @@ -71,13 +71,11 @@ if( debugging ) { quit(); } -log(); - // directories var path2 = "/data/db/" + testname+"dur"; // durable version -log(); +log("run mongod with --dur"); conn = startMongodEmpty("--port", 30001, "--dbpath", path2, "--dur", "--smallfiles", "--durOptions", /*DurParanoid*/8, "--master", "--oplogSize", 64); work(); @@ -87,7 +85,7 @@ stopMongod(30001, /*signal*/9); // journal file should be present, and non-empty as we killed hard // restart and recover -log(); +log("restart and recover"); conn = startMongodNoReset("--port", 30002, "--dbpath", path2, "--dur", "--smallfiles", "--durOptions", 8, "--master", "--oplogSize", 64); verify(); |