Fix flaky TestNotificationChannels (#34831)

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
This commit is contained in:
Ganesh Vernekar
2021-05-28 11:03:49 +05:30
committed by GitHub
parent 2bd78ab140
commit 89262ac64d
@@ -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())
}