Skip to content

Commit 5a7ee78

Browse files
fix ip rules check for ipv6
Signed-off-by: xiaojiangao123 <[email protected]>
1 parent 2210bd3 commit 5a7ee78

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/e2e/ipsec_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,6 @@ func checkIPSecRules(t framework.TestContext, containerName string) error {
285285
t.Fatalf("ip xfrm state output does not contain expected AEAD algorithm")
286286
return fmt.Errorf("ip xfrm state output does not contain expected AEAD algorithm")
287287
}
288-
if !strings.Contains(stateStr, "sel src 0.0.0.0/0 dst 0.0.0.0/0") {
289-
t.Fatalf("ip xfrm state output does not contain expected selector")
290-
return fmt.Errorf("ip xfrm state output does not contain expected selector")
291-
}
292288

293289
if !strings.Contains(policyStr, "tmpl src") || !strings.Contains(policyStr, "proto esp") || !strings.Contains(policyStr, "mode tunnel") {
294290
t.Fatalf("ip xfrm policy output does not contain expected tunnel template")

0 commit comments

Comments
 (0)