Skip to content

Commit

Permalink
SERVER-85785: Fetch log output after teardown in data_consistency_che…
Browse files Browse the repository at this point in the history
…cks.js

GitOrigin-RevId: 4d404e4156e683825c662b0a56305fc5faa9e227
  • Loading branch information
XueruiFa authored and MongoDB Bot committed Jan 27, 2024
1 parent d9b1c02 commit 74bf8ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jstests/noPassthrough/data_consistency_checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,12 @@ function runDataConsistencyChecks(testCase) {
}, testCase.conn.port);

awaitShell();
const output = rawMongoProgramOutput();

// We terminate the processes to ensure that the next call to rawMongoProgramOutput()
// will return all of their output.
testCase.teardown();

return output;
return rawMongoProgramOutput();
}

(function testReplicaSetWithVotingSecondaries() {
Expand Down

0 comments on commit 74bf8ce

Please sign in to comment.