Skip to content

Commit

Permalink
Merge pull request #913 from machadovilaca/adjust-VMStorageClassWarni…
Browse files Browse the repository at this point in the history
…ng-e2e-matcherror-timeout

Adjust VMStorageClassWarning E2E MatchError timeout
  • Loading branch information
kubevirt-bot committed Mar 5, 2024
2 parents 050701a + 6eda491 commit 972df8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/monitoring_test.go
Expand Up @@ -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")
Expand Down

0 comments on commit 972df8a

Please sign in to comment.