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

tests: fix KongCredential tests in envtest suite #709

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

pmalek
Copy link
Member

@pmalek pmalek commented Oct 7, 2024

What this PR does / why we need it:

This PR

  • removes checks in envtest suite for removal of KongConsumer credentials removal after KongConsumer is removed. This does not work in envtest suite because there is no controller that would assign the deletion timestamp to entities having owner references set after said owner (KongConsumer) is deleted.
  • adds test in envtest suite for APIKey credential

Which issue this PR fixes

Fixes #

Special notes for your reviewer:

#708 tracks re-adding those tests in a different test suite.

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect significant changes

@pmalek pmalek force-pushed the kongcredential-envtest branch from ef59676 to 0800298 Compare October 7, 2024 14:58
@pmalek pmalek marked this pull request as ready for review October 7, 2024 15:03
@pmalek pmalek requested a review from a team as a code owner October 7, 2024 15:03
@pmalek pmalek merged commit 15fce4a into main Oct 8, 2024
21 checks passed
@pmalek pmalek deleted the kongcredential-envtest branch October 8, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants