Skip to content

Commit

Permalink
Tests: increase timeout for custom dashboard tests
Browse files Browse the repository at this point in the history
Since these are unreliable, and requires a few retries increase the test
timeout, to give a better chance of success.

Signed-off-by: Jacob Baungard Hansen <[email protected]>
  • Loading branch information
jacobbaungard committed Oct 8, 2024
1 parent 12a89cf commit 3529488
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/pkg/tests/observability_dashboard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var _ = Describe("Observability:", func() {
Eventually(func() bool {
_, result := utils.ContainDashboard(testOptions, dashboardTitle)
return result
}, EventuallyTimeoutMinute*3, EventuallyIntervalSecond*5).Should(BeTrue())
}, EventuallyTimeoutMinute*5, EventuallyIntervalSecond*5).Should(BeTrue())
})

It("[P2][Sev2][observability][Stable] Should have update custom dashboard after configmap updated (dashboard/g0)", func() {
Expand All @@ -64,11 +64,11 @@ var _ = Describe("Observability:", func() {
Eventually(func() bool {
_, result := utils.ContainDashboard(testOptions, dashboardTitle)
return result
}, EventuallyTimeoutMinute*3, EventuallyIntervalSecond*5).Should(BeFalse())
}, EventuallyTimeoutMinute*5, EventuallyIntervalSecond*5).Should(BeFalse())
Eventually(func() bool {
_, result := utils.ContainDashboard(testOptions, updateDashboardTitle)
return result
}, EventuallyTimeoutMinute*3, EventuallyIntervalSecond*5).Should(BeTrue())
}, EventuallyTimeoutMinute*5, 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 3529488

Please sign in to comment.