Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
  • Loading branch information
zhangzujian committed Aug 10, 2024
1 parent 1d82d50 commit e50dbed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/security/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ func checkPods(f *framework.Framework, pods []corev1.Pod, process string, ports
} else {
podIPPrefix := strings.TrimSuffix(net.JoinHostPort(pod.Status.PodIP, "999"), "999")
for _, addr := range listenAddresses {
if strings.HasPrefix(addr, "127.0.0.1:") {
continue
}
if listenPodIP {
framework.ExpectTrue(strings.HasPrefix(addr, podIPPrefix))
} else {
Expand Down

0 comments on commit e50dbed

Please sign in to comment.