Skip to content

Commit

Permalink
tests/e2e: skip traffic split selector test for OpenShift (openservic…
Browse files Browse the repository at this point in the history
…emesh#4320)

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 and allenlsy committed Dec 14, 2021
1 parent a9a81cd commit cb1791c
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 cb1791c

Please sign in to comment.