Fix flaky TestNotificationChannels (#34831)

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
pull/34867/head
Ganesh Vernekar 4 years ago committed by GitHub
parent 2bd78ab140
commit 89262ac64d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/tests/api/alerting/api_notification_channel_test.go

@ -106,7 +106,7 @@ func TestNotificationChannels(t *testing.T) {
require.Eventually(t, func() bool {
return mockChannel.totalNotifications() == len(alertNames) &&
mockChannel.matchesExpNotifications(expNotifications)
}, 25*time.Second, 1*time.Second)
}, 30*time.Second, 1*time.Second)
require.NoError(t, mockChannel.Close())
}

Loading…
Cancel
Save