From ef7fe4b8b1495ab6771158792e6ac0418a08e6d3 Mon Sep 17 00:00:00 2001 From: Mario Fernandez Date: Tue, 8 Aug 2023 19:06:43 +0200 Subject: [PATCH] fix: add more time to test Signed-off-by: Mario Fernandez --- test/e2e/prometheus_operator_test.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/e2e/prometheus_operator_test.go b/test/e2e/prometheus_operator_test.go index 2745d8250..09f5b5af8 100644 --- a/test/e2e/prometheus_operator_test.go +++ b/test/e2e/prometheus_operator_test.go @@ -53,16 +53,19 @@ func TestPrometheusOperatorForNonOwnedResources(t *testing.T) { name: "Operator should not reconcile resources which it does not own", scenario: func(t *testing.T) { t.Run("Prometheus never exists", func(t *testing.T) { + t.Parallel() f.AssertResourceNeverExists(prometheusStsName, e2eTestNamespace, - &appsv1.StatefulSet{}, framework.WithTimeout(15*time.Second))(t) + &appsv1.StatefulSet{}, framework.WithTimeout(30*time.Second))(t) }) t.Run("Alertmanager never exists", func(t *testing.T) { + t.Parallel() f.AssertResourceNeverExists(alertmanagerStsName, e2eTestNamespace, - &appsv1.StatefulSet{}, framework.WithTimeout(15*time.Second))(t) + &appsv1.StatefulSet{}, framework.WithTimeout(30*time.Second))(t) }) t.Run("Thanos Ruler never exists", func(t *testing.T) { + t.Parallel() f.AssertResourceNeverExists(thanosRulerStsName, e2eTestNamespace, - &appsv1.StatefulSet{}, framework.WithTimeout(15*time.Second))(t) + &appsv1.StatefulSet{}, framework.WithTimeout(30*time.Second))(t) }) }, },