Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
tests/e2e: skip traffic split selector test for OpenShift (#4320)
Browse files Browse the repository at this point in the history
The traffic split selector tests uses default service accounts
and doesn't need to be tested on OpenShift. The security
context constraints would need to be applied for this test
to work on OpenShift, while the test itself is primarily
testing the label selector logic in the control plane.

Signed-off-by: Shashank Ram <[email protected]>
  • Loading branch information
shashankram authored Oct 28, 2021
1 parent 4a40b33 commit cfc96d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/e2e/e2e_trafficsplit_selector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ var _ = OSMDescribe("Test HTTP from N Clients deployments to 1 Server deployment

func testTrafficSplitSelector() {
It("Tests HTTP traffic split when root service selector matches backends", func() {
if Td.DeployOnOpenShift {
Skip("Skipping test: TrafficSplit selector test not supported on OpenShift")
}

clientNs := "client"
clientName := "client"
serviceNs := "server"
Expand Down

0 comments on commit cfc96d1

Please sign in to comment.