grafana/pkg/services/ngalert/sender
Joe Blubaugh 1a8d0e2736
Alerting: Speed up unit and integration tests. (#60067)
This change marks tests in the `sender` package that use an external
process as integration tests instead of unit tests. This speeds up the
package's unit tests by about 20 seconds.

This change also reduces the number of alert instances in the `store`
package's bulk write integration test from 20_000 to 10_000. This is
still enough to exercise the bulk-write code but speeds up the package
tests from about 250s to 130s.

Put together, integration tests go to about 160s while also speeding up
unit tests by 20s.
2022-12-12 14:21:06 +08:00
..
router_test.go Alerting: Speed up unit and integration tests. (#60067) 2022-12-12 14:21:06 +08:00
router.go Alerting: Remove url based external alertmanagers config (#57918) 2022-11-10 16:34:13 +01:00
sender_test.go Alerting: Improve operational logs in sender package (#57134) 2022-10-20 14:19:04 -05:00
sender.go Alerting: Remove url based external alertmanagers config (#57918) 2022-11-10 16:34:13 +01:00
testing.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00