-
Notifications
You must be signed in to change notification settings - Fork 172
#397 added block other tenant resources test #515
#397 added block other tenant resources test #515
Conversation
Hi @phoenixking25. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/assign @JimBugwadia |
/ok-to-test |
} | ||
|
||
if !reflect.DeepEqual(t, TenantSpec{}) { | ||
return nil |
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.
shouldn't this return an error?
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.
It was confusing to me so i tested it and it was working well, no problem i will run again the test and get back to you
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.
I am agreed that it should give error but its working according to required behavior only when we compliment it by not !
in front of it. Actually if we see https://github.com/kubernetes-sigs/multi-tenancy/blob/a99b6dbd22693bf23f119226184df87301549f32/benchmarks/e2e/config/config.go#L26 this is also behaving exact like this! Lets say i remove not !
from front of it and fill the Tenant A and comment out the Tenant B in config.yaml
then it shows error.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JimBugwadia, phoenixking25 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 |
/lgtm |
No description provided.