-
Notifications
You must be signed in to change notification settings - Fork 326
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
Tests: Fix/improve tests with Restricted PSA enforcement #2780
Conversation
if updateErr == nil { | ||
logger.Logf(t, "Updated namespace %s", namespace) | ||
return | ||
} |
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.
This felt odd after writing it, but I wanted to make sure the label is set whether the namespace exists or not. The namespace is passed in as a test flag, but it's not clear whether that namespace should/must exist (or at least, it isn't clear to me).
I was hoping the Update()
would be a "update or create if not exist", but it isn't.
@missylbytes Should we go ahead and merge this in? |
* tests: Respect UseAppNamespace in ConnectHelper * tests: Auto-configure restricted PSA enforcement when enabled --------- Co-authored-by: Paul Glass <pglass@hashicorp.com>
* tests: Respect UseAppNamespace in ConnectHelper * tests: Auto-configure restricted PSA enforcement when enabled --------- Co-authored-by: Paul Glass <pglass@hashicorp.com>
…into release/1.0.x (#2935) Tests: Fix/improve tests with Restricted PSA enforcement (#2780) * tests: Respect UseAppNamespace in ConnectHelper * tests: Auto-configure restricted PSA enforcement when enabled --------- Co-authored-by: Paul Glass <pnglass@gmail.com> Co-authored-by: Paul Glass <pglass@hashicorp.com>
Changes proposed in this PR:
In the acceptance tests:
-enable-restricted-psa-enforcement
is set-enable-restricted-psa-enforcement
is setHow I've tested this PR:
Run the following commands:
Where the
./test-psa-kind.sh
script is the followingTest script
How I expect reviewers to test this PR:
👀 or try to run the tests if you want
Checklist: