-
Notifications
You must be signed in to change notification settings - Fork 263
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 for test flake when sync waiting and an intermediate error occurs #1052
Conversation
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.
Produced via:
gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -name '*.pb.go' -prune -o -type f -name '*.go' -print)
goimports -w $(find -name '*.go' | grep -v vendor | grep -v third_party | grep -v .pb.go | grep -v wire_gen.go)
/test pull-knative-client-integration-tests |
/test pull-knative-client-integration-tests |
1 similar comment
/test pull-knative-client-integration-tests |
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.
/ok-to-test
/retest
/test pull-knative-client-integration-tests |
The following is the coverage report on the affected files.
|
Thanks @rhuss for the thorough analysis and fix. IMO it looks good, but lets wait for other reviewers. /approve |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dsimansk, maximilien, navidshaikh, rhuss 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 |
…knative#1052) * fix: Cancel error timer on sync wait when a non-error event arrives * chore: Added
…knative#1052) * fix: Cancel error timer on sync wait when a non-error event arrives * chore: Added
* Fix for test flake when sync waiting and an intermediate error occurs (#1052) * fix: Cancel error timer on sync wait when a non-error event arrives * chore: Added * Add WithLabel list filter to serving client lib (#1054) * add WithLabel list filter Signed-off-by: Zbynek Roubalik <[email protected]> * adding tests Signed-off-by: Zbynek Roubalik <[email protected]> * update changelog Signed-off-by: Zbynek Roubalik <[email protected]> * Update CHANGELOG Co-authored-by: Roland Huß <[email protected]> Co-authored-by: Zbynek Roubalik <[email protected]>
* Fix for test flake when sync waiting and an intermediate error occurs (#1052) * fix: Cancel error timer on sync wait when a non-error event arrives * chore: Added * Add WithLabel list filter to serving client lib (#1054) * add WithLabel list filter Signed-off-by: Zbynek Roubalik <[email protected]> * adding tests Signed-off-by: Zbynek Roubalik <[email protected]> * update changelog Signed-off-by: Zbynek Roubalik <[email protected]> * Update CHANGELOG Co-authored-by: Roland Huß <[email protected]> Co-authored-by: Zbynek Roubalik <[email protected]>
…knative#1052) * fix: Cancel error timer on sync wait when a non-error event arrives * chore: Added
This fix workaround the issue as described in knative/serving#9727 but is useful in general to cancel an error window if a non-error condition event is received.