From 5d772b8aaf661487575b948e6cdb02169e730fab Mon Sep 17 00:00:00 2001 From: Shashank Ram Date: Wed, 27 Oct 2021 14:42:27 -0700 Subject: [PATCH] tests/e2e: skip traffic split selector test for OpenShift 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 --- tests/e2e/e2e_trafficsplit_selector_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/e2e/e2e_trafficsplit_selector_test.go b/tests/e2e/e2e_trafficsplit_selector_test.go index 3ac967e84d..b58bc09f41 100644 --- a/tests/e2e/e2e_trafficsplit_selector_test.go +++ b/tests/e2e/e2e_trafficsplit_selector_test.go @@ -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"