Tests: Fix/improve tests with Restricted PSA enforcement#2780
Merged
missylbytes merged 2 commits intomainfrom Sep 11, 2023
Merged
Tests: Fix/improve tests with Restricted PSA enforcement#2780missylbytes merged 2 commits intomainfrom
missylbytes merged 2 commits intomainfrom
Conversation
pglass
commented
Aug 15, 2023
| if updateErr == nil { | ||
| logger.Logf(t, "Updated namespace %s", namespace) | ||
| return | ||
| } |
Contributor
Author
There was a problem hiding this comment.
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.
Contributor
|
@missylbytes Should we go ahead and merge this in? |
missylbytes
approved these changes
Sep 11, 2023
Merged
2 tasks
missylbytes
pushed a commit
that referenced
this pull request
Sep 11, 2023
* tests: Respect UseAppNamespace in ConnectHelper * tests: Auto-configure restricted PSA enforcement when enabled --------- Co-authored-by: Paul Glass <pglass@hashicorp.com>
missylbytes
pushed a commit
that referenced
this pull request
Sep 11, 2023
* tests: Respect UseAppNamespace in ConnectHelper * tests: Auto-configure restricted PSA enforcement when enabled --------- Co-authored-by: Paul Glass <pglass@hashicorp.com>
missylbytes
pushed a commit
that referenced
this pull request
Sep 11, 2023
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed in this PR:
In the acceptance tests:
-enable-restricted-psa-enforcementis set-enable-restricted-psa-enforcementis setHow I've tested this PR:
Run the following commands:
Where the
./test-psa-kind.shscript is the followingTest script
How I expect reviewers to test this PR:
👀 or try to run the tests if you want
Checklist: