Skip to content

Conversation

addaleax
Copy link
Collaborator

No description provided.

@addaleax addaleax marked this pull request as ready for review February 18, 2022 11:24

const logPath = path.join(logBasePath, `${shell.logId}_log`);
const logContents = await readReplLogfile(logPath);
expect(logContents.find(line => line.id === 1_000_000_049)).to.exist;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this test checks that the loading from system CA should fail on these systems, wouldn't this log line be missing from the log file? IIUC 1_000_000_049 shows in the logs when we managed to read from system CA

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, this is to verify that the feature is actually working, i.e. loading from system CA does not fail. It just happens to fail until we have mongodb-js/boxednode#24, because the system-ca case is one in which the bindings package’s filename detection logic breaks down.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhh, got it! Totally misread the test case name

@addaleax addaleax merged commit 4ebdb0f into main Feb 22, 2022
@addaleax addaleax deleted the 4105-dev branch February 22, 2022 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants