-
Notifications
You must be signed in to change notification settings - Fork 367
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
Skip IPSec/WireGuard e2e test when the Multicast feature is enabled #6264
Skip IPSec/WireGuard e2e test when the Multicast feature is enabled #6264
Conversation
@@ -42,6 +42,7 @@ func TestIPSec(t *testing.T) { | |||
t.Fatalf("Error when setting up test: %v", err) | |||
} | |||
defer teardownTest(t, data) | |||
skipIfMulticastEnabled(t, data) |
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.
ditto
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.
Regarding the IPSec test part, do you mean to do config mutation as wireguard test?
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.
No, my thought is to keep the two consistent, either both skip the case that "multicast.enabled=false", or use mutate to enforce they are run.
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.
This is an e2e fix because of PR antrea-io#5920. Signed-off-by: Lan Luo <luola@vmware.com>
bac8086
to
1563807
Compare
skipIfEncapModeIsNot(t, data, config.TrafficEncapModeEncap) | ||
for _, node := range clusterInfo.nodes { | ||
skipIfMissingKernelModule(t, data, node.name, []string{"wireguard"}) | ||
} | ||
var previousTrafficEncryptionMode string | ||
var previousMulticastEnabledState 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.
After sync with wenying, we keep both IPSec and WireGuard test in the same way to simply disabled related encryption e2e tests when multicast is enabled. So no need to do this kind of check and restore anymore.
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
/test-e2e |
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
…ntrea-io#6264) This is an e2e fix because of PR antrea-io#5920. Signed-off-by: Lan Luo <luola@vmware.com>
…ntrea-io#6264) This is an e2e fix because of PR antrea-io#5920. Signed-off-by: Lan Luo <luola@vmware.com>
This is an e2e fix because of PR #5920.