Skip to content

Commit

Permalink
Skip control plane tests for dualStack job
Browse files Browse the repository at this point in the history
The control plane test suite currently takes around 10 minutes, while
the dualStack tests take about 3 minutes. The value of running control
plane tests in their current form on a dualStack cluster appears minimal,
as these tests do not validate any datapath use cases. Therefore, let's
skip the control plane tests for now.

Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
  • Loading branch information
sridhargaddam committed Oct 12, 2024
1 parent 1804918 commit 12bcd85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/e2e/controlplane/control_plane_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ var (
expectedRegistry = env.Get("EXPECTED_REGISTRY", "^docker\\.io|^gcr\\.io")
bookinfoNamespace = env.Get("BOOKINFO_NAMESPACE", "bookinfo")
multicluster = env.GetBool("MULTICLUSTER", false)
ipFamily = env.Get("IP_FAMILY", "ipv4")

k kubectl.Kubectl
)

func TestInstall(t *testing.T) {
if multicluster {
t.Skip("Skipping test for multicluster")
if ipFamily == "dual" || multicluster {
t.Skip("Skipping the control plane tests")
}
RegisterFailHandler(Fail)
setup()
Expand Down

0 comments on commit 12bcd85

Please sign in to comment.