-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
elif sub_test_name == "azure-remote": | ||
source_file = "./env.sh" | ||
elif sub_test_name == "gcp-remote": | ||
source_file = "./secrets-export.sh" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunate, oh well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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.
Ready for another look |
Passing build: https://spruce.mongodb.com/version/67d1a6e179aa780007b9fbe6/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC