Reduce number of dispatched alerts to avoid hitting the limit on number of alive goroutines.
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
This commit is contained in:
parent
b3ea60e9bb
commit
0bb65d1e4b
|
@ -638,7 +638,7 @@ func TestDispatcherRace(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestDispatcherRaceOnFirstAlertNotDeliveredWhenGroupWaitIsZero(t *testing.T) {
|
func TestDispatcherRaceOnFirstAlertNotDeliveredWhenGroupWaitIsZero(t *testing.T) {
|
||||||
const numAlerts = 8000
|
const numAlerts = 5000
|
||||||
|
|
||||||
logger := log.NewNopLogger()
|
logger := log.NewNopLogger()
|
||||||
marker := types.NewMarker(prometheus.NewRegistry())
|
marker := types.NewMarker(prometheus.NewRegistry())
|
||||||
|
|
Loading…
Reference in New Issue