Skip to content

Fix ClusterFixture#hasEncryptionTestsEnabled to correctly detect env vars #1342

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

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

jyemin
Copy link
Collaborator

@jyemin jyemin commented Mar 14, 2024

JAVA-5311

Note that a lot more tests are running now and a lot more are failing on latest, as expected.

@jyemin jyemin requested a review from rozza March 14, 2024 15:03
@jyemin jyemin self-assigned this Mar 14, 2024
@@ -198,10 +198,11 @@ public static List<Integer> getVersionList(final String versionString) {
}

public static boolean hasEncryptionTestsEnabled() {
List<String> requiredSystemProperties = asList("awsAccessKeyId", "awsSecretAccessKey", "azureTenantId", "azureClientId",
"azureClientSecret", "gcpEmail", "gcpPrivateKey", "tmpAwsAccessKeyId", "tmpAwsSecretAccessKey", "tmpAwsSessionToken");
List<String> requiredSystemProperties = asList("AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AZURE_TENANT_ID", "AZURE_CLIENT_ID",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can't believe I messed this up.

Copy link
Member

@rozza rozza left a comment

Choose a reason for hiding this comment

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

LGTM

@jyemin jyemin merged commit 7c37741 into mongodb:master Mar 15, 2024
@jyemin jyemin deleted the j5311 branch March 15, 2024 13:01
jyemin added a commit to jyemin/mongo-java-driver that referenced this pull request Mar 15, 2024
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