client
client copied to clipboard
Fix `kn service wait` for already ready ksvc
Description
Changes
- Fix
kn service waitfor already ready ksvc
Per the linked issue, the wait cmd doesn't react properly in case of KSVC is already ready when wait-loop is started. It's caused by lack of any new events from cluster to wait upon.
/cc @rhuss
Reference
Fixes #1922
Release Note
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 74.58%. Comparing base (
8979cbd) to head (bd33cac). Report is 10 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #1925 +/- ##
=======================================
Coverage 74.58% 74.58%
=======================================
Files 207 207
Lines 15563 15566 +3
=======================================
+ Hits 11607 11610 +3
Misses 3167 3167
Partials 789 789
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
/retest
@rhuss gentle reminder, PTAL. Thanks a lot!
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dsimansk, rhuss
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [dsimansk,rhuss]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
/override "Job style / suggester / github_actions"
@dsimansk: /override requires failed status contexts, check run or a prowjob name to operate on. The following unknown contexts/checkruns were given:
Job style / suggester / github_actions
Only the following failed contexts/checkruns were expected:
EasyCLAbuild-tests_client_mainintegration-tests-latest-release_client_mainintegration-tests_client_mainstyle / suggester / github_actionsstyle / suggester / shellstyle / suggester / yamltideunit-tests_client_main
If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.
In response to this:
/override "Job style / suggester / github_actions"
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/override "style / suggester / github_actions"
@dsimansk: Overrode contexts on behalf of dsimansk: style / suggester / github_actions
In response to this:
/override "style / suggester / github_actions"
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/override "style / suggester / shell" /override "style / suggester / yaml"
@dsimansk: Overrode contexts on behalf of dsimansk: style / suggester / shell, style / suggester / yaml
In response to this:
/override "style / suggester / shell" /override "style / suggester / yaml"
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/retest