-
Notifications
You must be signed in to change notification settings - Fork 601
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
Wait for events with poll interval after finished event received #7668
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7668 +/- ##
=======================================
Coverage 73.98% 73.98%
=======================================
Files 262 262
Lines 15178 15178
=======================================
Hits 11229 11229
Misses 3343 3343
Partials 606 606 ☔ View full report in Codecov by Sentry. |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew, mgencur The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…tive#7668) * Wait for events with poll interval after finished event received * Use PollUntilContextCancel * Change default timeout to 30 seconds * Call cancel * Simplify
…tive#7668) * Wait for events with poll interval after finished event received * Use PollUntilContextCancel * Change default timeout to 30 seconds * Call cancel * Simplify
…tive#7668) (#530) * Wait for events with poll interval after finished event received (knative#7668) * Wait for events with poll interval after finished event received * Use PollUntilContextCancel * Change default timeout to 30 seconds * Call cancel * Simplify * Use wait.PollImmediate The function PollUntilContextTimeout is not yet available in k8s.io/apimachinery v0.26.5
…tive#7668) * Wait for events with poll interval after finished event received * Use PollUntilContextCancel * Change default timeout to 30 seconds * Call cancel * Simplify
…nt received (knative#7668) (#540) * Wait for events with poll interval after finished event received (knative#7668) * Wait for events with poll interval after finished event received * Use PollUntilContextCancel * Change default timeout to 30 seconds * Call cancel * Simplify * Use wait.PollImmediate The function PollUntilContextTimeout is not yet available in k8s.io/apimachinery v0.26.5 --------- Co-authored-by: Martin Gencur <mgencur@redhat.com>
…tive#7668) * Wait for events with poll interval after finished event received * Use PollUntilContextCancel * Change default timeout to 30 seconds * Call cancel * Simplify
…nt received (knative#7668) (#580) * Wait for events with poll interval after finished event received (knative#7668) * Wait for events with poll interval after finished event received * Use PollUntilContextCancel * Change default timeout to 30 seconds * Call cancel * Simplify * wathola receiver, annotate span by step number (knative#7667) wathole receiver, annotate span by step number --------- Co-authored-by: Martin Gencur <mgencur@redhat.com> Co-authored-by: Marek Schmidt <maschmid@redhat.com>
When "Finished" event is received in upgrade tests, check the number of received events periodically until a timeout is reached. This has two advantages:
Proposed Changes
interval
property for the receiver which can be set like this (default is 1 second):Pre-review Checklist
Release Note
Docs