Skip to content

Increase poll timings for IntegrationSource tests#8860

Merged
knative-prow[bot] merged 1 commit intoknative:mainfrom
creydr:increase-poll-timings-integrationsink
Jan 26, 2026
Merged

Increase poll timings for IntegrationSource tests#8860
knative-prow[bot] merged 1 commit intoknative:mainfrom
creydr:increase-poll-timings-integrationsink

Conversation

@creydr
Copy link
Member

@creydr creydr commented Jan 26, 2026

The TestIntegrationSourceWithSinkRef and TestIntegrationSourceSendsEventsWithOIDC tests were timing out during cleanup when waiting for resources to be deleted (see here).

Increased the poll timeout in both tests to allow more time for resource cleanup, consistent with TestIntegrationSourceWithTLS which already had these timings configured.

This prevents cleanup timeout failures:

"magic.go:135: failed to wait for resources to be deleted: timed out waiting for the condition"

The TestIntegrationSourceWithSinkRef and TestIntegrationSourceSendsEventsWithOIDC
tests were timing out during cleanup when waiting for resources to be deleted.

Added environment.WithPollTimings(5*time.Second, 4*time.Minute) to both tests
to allow more time for resource cleanup, consistent with TestIntegrationSourceWithTLS
which already had these timings configured.

This prevents cleanup timeout failures:
"magic.go:135: failed to wait for resources to be deleted: timed out waiting for the condition"
@creydr creydr requested a review from Cali0707 January 26, 2026 15:24
@creydr creydr changed the title fix(test): increase poll timings for IntegrationSource tests Increase poll timings for IntegrationSource tests Jan 26, 2026
@knative-prow knative-prow bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. area/test-and-release Test infrastructure, tests or release labels Jan 26, 2026
@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 26, 2026
Copy link
Member

@Cali0707 Cali0707 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jan 26, 2026
@knative-prow
Copy link

knative-prow bot commented Jan 26, 2026

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.15%. Comparing base (ccf232a) to head (7269400).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8860   +/-   ##
=======================================
  Coverage   51.15%   51.15%           
=======================================
  Files         409      409           
  Lines       21366    21366           
=======================================
  Hits        10930    10930           
  Misses       9584     9584           
  Partials      852      852           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@creydr
Copy link
Member Author

creydr commented Jan 26, 2026

/test reconciler-tests

@knative-prow knative-prow bot merged commit 86c43a6 into knative:main Jan 26, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release Test infrastructure, tests or release lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants