-
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 the periodic CI flow error in client #200
Conversation
I think this is overkill: 316 files and 50K lines just for a flag. |
/test pull-knative-client-build-tests |
Ugh, looks like the build job is affected by knative/test-infra#1018 |
/approve |
/assign @sixolet |
test/e2e/e2e_flags.go
Outdated
) | ||
|
||
// ClientFlags saves the environment flags for client. | ||
var ClientFlags = initializeFlags() |
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.
How does doing this fix the CI flow errors? Is there something missing in this PR? Or perhaps elaborate the problem and fix. Thx
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.
emitmetrics
is a flag used by our testing framework, which is also required for the running of periodic jobs. But since Knative client
is not using the framework, it does not have the flag, so adding this flag
as a no-op can solve the error.
I have made it a bit simpler and added more meaningful comments.
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.
Not obvious but thanks for the explanation. Hopefully fixes things. Thanks.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adrcunha, Fredy-Z, 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 |
* hack the emitmetrics flag * update test-infra
Otherwise Gubernator will report failures, even when all tests pass, because some tests do test that testcases failed (!).
See https://testgrid.knative.dev/client#continuous.
/cc @adrcunha