From 579df29006352779223d4d109be11ada717008ac Mon Sep 17 00:00:00 2001 From: Alessandro Olivero Date: Tue, 24 Oct 2023 11:36:12 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! Security Mode: E2E tests --- test/e2e/cruise/basic_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/e2e/cruise/basic_test.go b/test/e2e/cruise/basic_test.go index c66cefc386..ba0218e00a 100644 --- a/test/e2e/cruise/basic_test.go +++ b/test/e2e/cruise/basic_test.go @@ -79,6 +79,10 @@ var _ = Describe("Liqo E2E", func() { for index1 := range testContext.Clusters { for index2 := range testContext.Clusters { if index2 != index1 { + if testContext.SecurityMode == liqoconst.IntraClusterTrafficSegregationSecurityMode && index1 != 0 { + // this will work only for pod offloaded from the cluster, not the viceversa + continue + } ConnectivityCheckTableEntries = append(ConnectivityCheckTableEntries, Entry(fmt.Sprintf("Check Pod to Pod connectivity from cluster %v to cluster %v", index1+1, index2+1), connectivityTestcase{