grafana/pkg/services/ngalert/notifier
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
..
channels Alerting: PagerDuty receiver to let user configure fields Source, Client and Client URL (#59895) 2022-12-08 11:49:27 -05:00
channels_config Alerting: PagerDuty receiver to let user configure fields Source, Client and Client URL (#59895) 2022-12-08 11:49:27 -05:00
alertmanager_config.go Find-and-replace 'err' logs to 'error' to match log search conventions (#57309) 2022-10-19 17:36:54 -04:00
alertmanager_test.go Alerting: Speed up unit and integration tests. (#60067) 2022-12-12 14:21:06 +08:00
alertmanager.go Find-and-replace 'err' logs to 'error' to match log search conventions (#57309) 2022-10-19 17:36:54 -04:00
alerts.go Find-and-replace 'err' logs to 'error' to match log search conventions (#57309) 2022-10-19 17:36:54 -04:00
config_test.go Remove ioutil.ReadDir from usage (#53550) 2022-08-11 07:21:12 -04:00
config.go Find-and-replace 'err' logs to 'error' to match log search conventions (#57309) 2022-10-19 17:36:54 -04:00
crypto.go Alerting: Logs should not be capitalized and the errors key should be "err" (#50333) 2022-06-07 19:54:23 +02:00
file_store_test.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
file_store.go Find-and-replace 'err' logs to 'error' to match log search conventions (#57309) 2022-10-19 17:36:54 -04:00
multiorg_alertmanager_test.go Indicate whether routes are provisioned when GETting Alertmanager configuration (#47857) 2022-04-22 11:57:56 -05:00
multiorg_alertmanager.go Find-and-replace 'err' logs to 'error' to match log search conventions (#57309) 2022-10-19 17:36:54 -04:00
receivers_test.go Contact point testing (#37308) 2021-08-17 13:49:05 +01:00
receivers.go fix swagger spec for receivers API response (#57124) 2022-10-17 16:58:55 -03:00
silences.go Find-and-replace 'err' logs to 'error' to match log search conventions (#57309) 2022-10-19 17:36:54 -04:00
status.go Contact point testing (#37308) 2021-08-17 13:49:05 +01:00
testing.go Alerting: Delete expired images from the database (#53236) 2022-08-09 15:28:36 +01:00