-
Notifications
You must be signed in to change notification settings - Fork 594
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
fix: knative ingress tests #1646
Conversation
Codecov Report
@@ Coverage Diff @@
## next #1646 +/- ##
==========================================
+ Coverage 62.19% 62.35% +0.15%
==========================================
Files 83 83
Lines 7283 7283
==========================================
+ Hits 4530 4541 +11
+ Misses 2421 2409 -12
- Partials 332 333 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Approved pending the post-blocker module changes.
This was causing a conflict under some conditions as the CRDs could be loaded multiple times simoltaneously.
This patch fixes several issues with the knative tests and adjusts them for the inclusion of the knative addon from the test framework: - removed deployment logic (the addon does this now) - added resource cleanup for knative.Services created - general code cleanup and logging improvements The result is that tests are now passing consistently against GKE clusters (particularly older v1.17 and v1.18 clusters) and can be run repeatedly without triggering conflicts.
1ae6d8e
to
d690d7c
Compare
What this PR does / why we need it:
When releasing
v2.0.0-alpha.3
some problems were encountered with the Knative ingress tests, which turned out to be flakes caused by timing issues with deploying Knative components. This PR removes all provisioning of Knative components in favor of leaving that up to the testing environment's Knative addon, fixes some issues, does some refactoring of the tests and ultimately re-enables the tests in release testing CI in support of upcomingv2.x
releases.Which issue this PR fixes
Fixes #1637
Special notes for your reviewer:
Blocked by Kong/kubernetes-testing-framework#77
I have tested this manually with both
v1.17
andv1.18
GKE clusters locally to to ensure they pass. I made sure to run the tests multiple times in a row to validate cleanup and ensure test idempotency, and did not run into any errors.