VictoriaMetrics/app/victoria-metrics/test
Aliaksandr Valialkin 62dabd67a2
app: consistently use t.Fatal* instead of t.Error* (except of app/vmalert and app/vmctl - these packages will be processed in a separate commit)
Consistently using t.Fatal* simplifies the test code and makes it less fragile, since it is common error
to forget to make proper cleanup after t.Error* call. Also t.Error* calls do not provide any practical
benefits when some tests fail. They just clutter test output with additional noise information,
which do not help in fixing failing tests most of the time.

While at it, improve errors generated at app/victoria-metrics tests, so they contain more useful information
when debugging failed tests.

This is a follow-up for a9525da8a4
2024-07-11 15:59:08 +02:00
..
parser.go fix misspelled words (#229) 2019-11-12 00:16:42 +02:00
parser_test.go tests: attempt to fix flaky graphite test (#3567) 2022-12-29 11:48:47 -08:00
prom_types.go app/victoria-metrics: remove integration build tag from tests 2020-01-27 20:25:28 +02:00
prom_writer.go app: consistently use t.Fatal* instead of t.Error* (except of app/vmalert and app/vmctl - these packages will be processed in a separate commit) 2024-07-11 15:59:08 +02:00