-
Notifications
You must be signed in to change notification settings - Fork 600
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
Add channel metadata conformance tests #2963
Add channel metadata conformance tests #2963
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 -type f -name '*.go' -print)
/retest |
Not sure why this fails. Doing the following works locally for me on my Minikube:
|
The test is unable to The call I think the service account that is used to run the tests should be updated to have at least |
@chizhg is oncall this week, please investigate what's needed to make it work |
|
1e4b450
to
64d0882
Compare
I found the problem. I was checking the wrong things around RBAC, service accounts, permissions etc. the whole time 🤦♂️ sorry for misleading you and thanks for your help all is green now. |
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aliok, matzew 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 |
ping @pierDipi |
@aliok sure, I will let you know when it's ready. |
Fixes #1960
Proposed Changes
Implements channel metadata conformance tests. There are 3 tests described in the issue #1960.
messaging.knative.dev/subscribable=true
andduck.knative.dev/addressable=true
channel
1 and 3 is done by checking the
ApiResource
.For 2, I had to actually
get
the CRD and check if it has the label.Release Note
How to run the added tests?