Skip to content

Commit

Permalink
fix: add more time to test
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Fernandez <mariofer@redhat.com>
  • Loading branch information
marioferh committed Aug 8, 2023
1 parent 5e1679d commit ef7fe4b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/e2e/prometheus_operator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
},
},
Expand Down

0 comments on commit ef7fe4b

Please sign in to comment.