diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2019-12-17 00:01:40 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-17 00:01:40 +0000 |
commit | 37df883f1b56102296004bf67ef64437addff338 (patch) | |
tree | dc217291a176f8f2721ffebe855094f76f4891f1 | |
parent | e8e80e4a723d7a6da129f0742b0378bceb8bd547 (diff) | |
download | mongo-37df883f1b56102296004bf67ef64437addff338.tar.gz |
SERVER-45155 Write the temp file of rollback file dump in the test's db directory
-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 634610eeea6..b2281dd9966 100644 --- a/jstests/replsets/libs/rollback_files.js +++ b/jstests/replsets/libs/rollback_files.js @@ -69,7 +69,7 @@ function checkRollbackFiles(dbPath, nss, uuid, 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"); |