Increase poll timings for all ContainerSource tests#8862
Merged
knative-prow[bot] merged 1 commit intoknative:mainfrom Jan 27, 2026
Merged
Increase poll timings for all ContainerSource tests#8862knative-prow[bot] merged 1 commit intoknative:mainfrom
knative-prow[bot] merged 1 commit intoknative:mainfrom
Conversation
All ContainerSource tests were timing out after the default 2 minutes waiting for the ContainerSource resource to become ready or be deleted. Added environment.WithPollTimings(5*time.Second, 4*time.Minute) to all six ContainerSource tests to allow up to 4 minutes for: - Resource creation and readiness checks - Resource cleanup and deletion This fixes the timeout in TestContainerSourceSendsEventsWithOIDC: "wait.go:136: containersource-nggzhiqj not found containersources.sources.knative.dev" Tests updated: - TestContainerSourceWithSinkRef - TestContainerSourceWithSinkURI - TestContainerSourceWithCloudEventOverrides - TestContainerSourceWithArgs - TestContainerSourceWithTLS - TestContainerSourceSendsEventsWithOIDC
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8862 +/- ##
==========================================
- Coverage 51.14% 51.10% -0.05%
==========================================
Files 409 409
Lines 21366 21381 +15
==========================================
- Hits 10928 10926 -2
- Misses 9585 9603 +18
+ Partials 853 852 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
Author
|
/cc @Cali0707 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Cali0707, creydr The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
Some ContainerSource tests were timing out after the default 2 minutes waiting for the ContainerSource resource to become ready or be deleted.
Increased the poll timings to all six ContainerSource tests to allow up to 4 minutes for:
registerImage())This fixes the timeout in
TestContainerSourceSendsEventsWithOIDC: