-
Notifications
You must be signed in to change notification settings - Fork 373
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
[Multicast] Remove NetworkPolicyStats dependency of MulticastGroup API #5367
[Multicast] Remove NetworkPolicyStats dependency of MulticastGroup API #5367
Conversation
/test-multicast-e2e |
@@ -91,20 +91,29 @@ func TestRESTList(t *testing.T) { | |||
networkPolicyStatsEnabled bool |
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 think we should remove this factor from tests too.
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.
If we remove this factor, we cannot test the result of MulticastGroup API is irrelevant to the NetworkPolicyStats feature because we have already asserted it. Not sure if this is good practice. Could you explain more?
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.
Then the condition would be kept forever? Could it be confusing in the future?
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.
updated
Fixes antrea-io#5329 Signed-off-by: ceclinux <src655@gmail.com>
56bbe4e
to
e926842
Compare
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
@ceclinux could you backport this (ideally to 1.13, 1.12 and 1.11)? |
/test-all |
sure |
/test-all |
/test-conformance |
/test-networkpolicy |
Fixes #5329