diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2019-12-20 20:14:43 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-20 20:14:43 +0000 |
commit | 950c58b9b5449e6207fa8c80da202f789a70e29d (patch) | |
tree | e77d602510e2c7273c4c7d9e52184cae1969fc6f | |
parent | b3a0c28b7c3278a151f2f3b233303850ee9a4801 (diff) | |
download | mongo-950c58b9b5449e6207fa8c80da202f789a70e29d.tar.gz |
SERVER-45155 Write the temp file of rollback file dump in the test's db directory
(cherry picked from commit 37df883f1b56102296004bf67ef64437addff338)
-rw-r--r-- | jstests/replsets/libs/rollback_files.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/libs/rollback_files.js b/jstests/replsets/libs/rollback_files.js index 7162d255e19..b87ab7595d7 100644 --- a/jstests/replsets/libs/rollback_files.js +++ b/jstests/replsets/libs/rollback_files.js @@ -63,7 +63,7 @@ function checkRollbackFiles(dbPath, nss, expectedDocs) { // Parse the BSON rollback file and check for the right documents. The documents may be written // out in an arbitrary order so we just check the document set. - let tmpJSONFile = "rollback_tmp.json"; + let tmpJSONFile = rollbackDir + "/rollback_tmp.json"; let exitCode = MongoRunner.runMongoTool("bsondump", {outFile: tmpJSONFile, bsonFile: rollbackFile}); assert.eq(exitCode, 0, "bsondump failed to parse the rollback file"); |