Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Security Mode: E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aleoli committed Oct 24, 2023
1 parent d5f9c2b commit 579df29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/cruise/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 579df29

Please sign in to comment.