Fix for test flake when sync waiting and an intermediate error occurs#1052
Fix for test flake when sync waiting and an intermediate error occurs#1052knative-prow-robot merged 2 commits intoknative:masterfrom
Conversation
mattmoor
left a comment
There was a problem hiding this comment.
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 |
|
/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 |
|
[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 DetailsNeeds 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 <zroubali@redhat.com> * adding tests Signed-off-by: Zbynek Roubalik <zroubali@redhat.com> * update changelog Signed-off-by: Zbynek Roubalik <zroubali@redhat.com> * Update CHANGELOG Co-authored-by: Roland Huß <roland@ro14nd.de> Co-authored-by: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com>
* 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 <zroubali@redhat.com> * adding tests Signed-off-by: Zbynek Roubalik <zroubali@redhat.com> * update changelog Signed-off-by: Zbynek Roubalik <zroubali@redhat.com> * Update CHANGELOG Co-authored-by: Roland Huß <roland@ro14nd.de> Co-authored-by: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com>
…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.