Skip to content

Commit

Permalink
Tests: Increase custom dashboard test timeout (#1674)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jacobbaungard authored Nov 19, 2024
1 parent d969023 commit 3e1422a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pkg/tests/observability_dashboard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 3e1422a

Please sign in to comment.