From e1e29a9c559897a9cce68cc9e1195a5df637f286 Mon Sep 17 00:00:00 2001 From: OpenShift Cherrypick Robot Date: Wed, 4 Dec 2024 09:24:59 +0100 Subject: [PATCH] Tests: Increase custom dashboard test timeout (#1675) The retrying of adding custom dashboards lasts at least 7 minutes. So increase timeout slightly in the hopes that the success rate is of test passings are a bit higher untill we get a better solution in place. Signed-off-by: Jacob Baungard Hansen Co-authored-by: Jacob Baungard Hansen --- tests/pkg/tests/observability_dashboard_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pkg/tests/observability_dashboard_test.go b/tests/pkg/tests/observability_dashboard_test.go index 29ada8df3..b4267ad80 100644 --- a/tests/pkg/tests/observability_dashboard_test.go +++ b/tests/pkg/tests/observability_dashboard_test.go @@ -64,11 +64,11 @@ var _ = Describe("Observability:", func() { Eventually(func() bool { _, result := utils.ContainDashboard(testOptions, dashboardTitle) return result - }, EventuallyTimeoutMinute*5, EventuallyIntervalSecond*5).Should(BeFalse()) + }, EventuallyTimeoutMinute*7, EventuallyIntervalSecond*5).Should(BeFalse()) Eventually(func() bool { _, result := utils.ContainDashboard(testOptions, updateDashboardTitle) return result - }, EventuallyTimeoutMinute*5, EventuallyIntervalSecond*5).Should(BeTrue()) + }, EventuallyTimeoutMinute*7, EventuallyIntervalSecond*5).Should(BeTrue()) }) It("[P2][Sev2][observability][Stable] Should have no custom dashboard in grafana after related configmap removed (dashboard/g0)", func() {