From 4fb0eb1ed4af444c69406dfb335f02ffba971b33 Mon Sep 17 00:00:00 2001 From: Yury Tsarev Date: Tue, 12 Dec 2023 00:14:20 +0100 Subject: [PATCH] Disable parallelisation for the frequently failing tests Signed-off-by: Yury Tsarev --- terratest/test/k8gb_abstract_full_roundrobin_test.go | 1 - terratest/test/k8gb_failover_playground_test.go | 1 - terratest/test/k8gb_full_failover_test.go | 1 - terratest/test/k8gb_lifecycle_test.go | 1 - terratest/test/k8gb_split_failover_test.go | 1 - 5 files changed, 5 deletions(-) diff --git a/terratest/test/k8gb_abstract_full_roundrobin_test.go b/terratest/test/k8gb_abstract_full_roundrobin_test.go index a6970dcb55..81d3cfd92d 100644 --- a/terratest/test/k8gb_abstract_full_roundrobin_test.go +++ b/terratest/test/k8gb_abstract_full_roundrobin_test.go @@ -35,7 +35,6 @@ func abstractTestFullRoundRobin(t *testing.T, n int) { tags := []string{"eu", "us", "cz", "af", "ru", "ap", "uk", "ca"} var instances []*utils.Instance - t.Parallel() const host = "roundrobin-test.cloud.example.com" const gslbPath = "../examples/roundrobin2.yaml" diff --git a/terratest/test/k8gb_failover_playground_test.go b/terratest/test/k8gb_failover_playground_test.go index 7e1319d6c9..e5e3d19817 100644 --- a/terratest/test/k8gb_failover_playground_test.go +++ b/terratest/test/k8gb_failover_playground_test.go @@ -32,7 +32,6 @@ import ( // TestFailoverPlayground is equal to k8gb failover test running on local playground. // see: https://github.com/k8gb-io/k8gb/blob/master/docs/local.md#failover func TestFailoverPlayground(t *testing.T) { - t.Parallel() const host = "playground-failover.cloud.example.com" const gslbPath = "../examples/failover-playground.yaml" const euGeoTag = "eu" diff --git a/terratest/test/k8gb_full_failover_test.go b/terratest/test/k8gb_full_failover_test.go index e36e2ccfcf..0ad028f084 100644 --- a/terratest/test/k8gb_full_failover_test.go +++ b/terratest/test/k8gb_full_failover_test.go @@ -29,7 +29,6 @@ import ( ) func TestFullFailover(t *testing.T) { - t.Parallel() const host = "terratest-failover.cloud.example.com" const gslbPath = "../examples/failover.yaml" diff --git a/terratest/test/k8gb_lifecycle_test.go b/terratest/test/k8gb_lifecycle_test.go index 913c4f34b4..01e978795a 100644 --- a/terratest/test/k8gb_lifecycle_test.go +++ b/terratest/test/k8gb_lifecycle_test.go @@ -37,7 +37,6 @@ import ( // TestK8gbRepeatedlyRecreatedFromIngress creates GSLB, then keeps operator live and than recreates GSLB again from Ingress. // This is usual lifecycle scenario and we are testing spec strategy has expected values. func TestK8gbRepeatedlyRecreatedFromIngress(t *testing.T) { - t.Parallel() // name of ingress and gslb const name = "test-gslb-failover-simple" diff --git a/terratest/test/k8gb_split_failover_test.go b/terratest/test/k8gb_split_failover_test.go index 570bfaf2d7..604a8aeb3a 100644 --- a/terratest/test/k8gb_split_failover_test.go +++ b/terratest/test/k8gb_split_failover_test.go @@ -39,7 +39,6 @@ import ( // Relies on two local clusters deployed by `$make deploy-two-local-clusters` // Tests expected behavior for https://github.com/k8gb-io/k8gb/issues/67 func TestK8gbSplitFailoverExample(t *testing.T) { - t.Parallel() // Path to the Kubernetes resource config we will test kubeResourcePath1, err := filepath.Abs("../examples/failover1.yaml")