client
client copied to clipboard
Fix wait-loop in domain E2E test
Description
Changes
- Add trim to domain wait loop
There's an ongoing intermittent failure that causing flaked E2E tests. The wait loop doesn't seem to be very effective to prevent those. Trying to add simple string trim. Any other ideas are welcome. :)
/cc @rhuss
Reference
Fixes #1873
Release Note
Fix wait-loop in domain E2E test
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 74.58%. Comparing base (
03e5516) to head (ddd343c). Report is 2 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #1919 +/- ##
=======================================
Coverage 74.58% 74.58%
=======================================
Files 207 207
Lines 15563 15563
=======================================
Hits 11607 11607
Misses 3167 3167
Partials 789 789
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
/test all
/test integration-tests-latest-release_client_main
/test integration-tests-latest-release_client_main /integration-tests_client_main
It seems to be more stable, might be really a matter of sanitizing the string before in the wait loop then.
For a quick comparison the other PR run into the issue with flake immediately, https://github.com/knative/client/pull/1920.
/test all
@rhuss with the recent run it's not really fixing anything, just a placebo. I'll try to debug it further.
@rhuss found it per https://github.com/knative/client/pull/1919/commits/8e7539126635472cbac3f31605e58ba7c750c41b.
There's potentially another flake unrelated to domain wait loop.
https://prow.knative.dev/view/gs/knative-prow/pr-logs/pull/knative_client/1919/integration-tests-latest-release_client_main/1768652899295956992#1:build-log.txt%3A905
/retest
/retest
/retest
/approve /lgtm
[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
/unhold