Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for --tlsUseSystemCA flag COMPASS-4105 #1205

Merged
merged 2 commits into from
Feb 22, 2022
Merged

Conversation

addaleax
Copy link
Contributor

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
Contributor

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
Contributor 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
Contributor

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