diff options
author | Spencer T Brody <spencer@mongodb.com> | 2014-07-23 16:42:15 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2014-07-23 18:00:11 -0400 |
commit | 4bce57b6acd498a1471104932725fdea7ff87217 (patch) | |
tree | 877506b0a8127e210e3e2b3ce8590f1d6476de2f /jstests/tool | |
parent | 3f6f0879b9cadcdc7763427a578151136c256e1f (diff) | |
download | mongo-4bce57b6acd498a1471104932725fdea7ff87217.tar.gz |
Use clearRawMongoProgramOutput to avoid test failure from asserts in the server instead of the tools
Diffstat (limited to 'jstests/tool')
-rw-r--r-- | jstests/tool/tool_replset.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/tool/tool_replset.js b/jstests/tool/tool_replset.js index e8788431b48..5c219c79a27 100644 --- a/jstests/tool/tool_replset.js +++ b/jstests/tool/tool_replset.js @@ -87,6 +87,7 @@ replTest.stop(0); var dataDir = MongoRunner.dataDir + "/tool_replset-0/"; data = MongoRunner.dataDir + "/tool_replset-dump-dbpath/"; print("dump oplog with --dbpath"); +clearRawMongoProgramOutput(); runMongoProgram("mongodump", "--dbpath", dataDir, "--out", data + "oplog", "-d", "local"); assert.isnull(rawMongoProgramOutput().match(/assert/)); // mongodump with --dbpath -d local & -c oplog.rs |