From 6eda491f246b696174df3abed8ab5d39227fa361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vila=C3=A7a?= Date: Tue, 5 Mar 2024 15:50:40 +0000 Subject: [PATCH] Adjust VMStorageClassWarning E2E MatchError timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Vilaça --- tests/monitoring_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/monitoring_test.go b/tests/monitoring_test.go index d4ee8fef2..1cfde4c10 100644 --- a/tests/monitoring_test.go +++ b/tests/monitoring_test.go @@ -291,7 +291,7 @@ var _ = Describe("Prometheus Alerts", func() { Eventually(func(g Gomega) error { return apiClient.Get(ctx, types.NamespacedName{Name: vmName, Namespace: strategy.GetNamespace()}, vm) - }).Should(MatchError(k8serrors.IsNotFound, "IsNotFound")) + }, 10*time.Second, time.Second).Should(MatchError(k8serrors.IsNotFound, "IsNotFound")) waitForSeriesToBeDetected(fmt.Sprintf("kubevirt_ssp_vm_rbd_block_volume_without_rxbounce{name='%s'} == 0", vmName)) alertShouldNotBeActive("VMStorageClassWarning")