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

PYTHON-5196 Convert OIDC tests to use new test scripts #2194

Merged
merged 28 commits into from
Mar 12, 2025

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Mar 12, 2025

@blink1073 blink1073 requested a review from NoahStapp March 12, 2025 17:35
elif sub_test_name == "azure-remote":
source_file = "./env.sh"
elif sub_test_name == "gcp-remote":
source_file = "./secrets-export.sh"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do the azure-remote and gcp-remote envs live in different files?

Copy link
Member Author

Choose a reason for hiding this comment

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

They're put there by the scripts in drivers-tools.

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant more why do they end up in two different places? I would expect them to be put into the same file by the scripts.

Copy link
Member Author

Choose a reason for hiding this comment

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

I blame the author (past me).

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually, we can address both of these UX concerns now.

- func: run tests
vars:
TEST_NAME: auth_oidc
SUB_TEST_NAME: test
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we change the SUB_TEST_NAME from test to something like default for clarity?

Copy link
Member Author

Choose a reason for hiding this comment

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

That name corresponds to the OIDC_ENV variable, which is already established.

Copy link
Contributor

Choose a reason for hiding this comment

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

Unfortunate, oh well.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll wait to push until we merge the drivers-tools PR and I remove the checkout of my fork.

@blink1073 blink1073 requested a review from NoahStapp March 12, 2025 18:09
@blink1073
Copy link
Member Author

Ready for another look

@blink1073 blink1073 merged commit 6e5126d into mongodb:master Mar 12, 2025
34 of 37 checks passed
@blink1073 blink1073 deleted the PYTHON-5196 branch March 12, 2025 20:48
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