VictoriaMetrics/app
Aliaksandr Valialkin 0078399788
app/vmalert: switch from table-driven tests to f-tests
This makes test code more clear and reduces the number of code lines by 500.
This also simplifies debugging tests. See https://itnext.io/f-tests-as-a-replacement-for-table-driven-tests-in-go-8814a8b19e9e

While at it, consistently use t.Fatal* instead of t.Error* across tests, since t.Error*
requires more boilerplate code, which can result in additional bugs inside tests.
While t.Error* allows writing logging errors for the same, this doesn't simplify fixing
broken tests most of the time.

This is a follow-up for a9525da8a4
2024-07-12 22:41:11 +02:00
..
victoria-logs deployment: build image for vmagent streamaggr benchmark (#6515) 2024-06-24 16:28:50 +02:00
victoria-metrics 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
vlinsert app/vlinsert/loki: use easyproto instead for parsing Loki protobuf messages 2024-07-10 03:05:17 +02:00
vlogsgenerator lib/logstorage: work-in-progress 2024-05-25 00:30:58 +02:00
vlselect app/vlselect/vmui: run make vmui-logs-update after 662e026279 2024-07-10 00:50:10 +02:00
vlstorage lib/logstorage: work-in-progress 2024-06-27 14:20:43 +02:00
vmagent 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
vmalert app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
vmalert-tool app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
vmauth all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
vmbackup 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
vmbackupmanager all: replace old https://docs.victoriametrics.com/vmbackupmanager.html url with the new one - https://docs.victoriametrics.com/vmbackupmanager/ 2024-04-18 02:03:58 +02:00
vmctl app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
vmgateway all: replace old https://docs.victoriametrics.com/vmgateway.html url with the new one - https://docs.victoriametrics.com/vmgateway/ 2024-04-18 02:08:18 +02:00
vminsert Revert c6c5a5a186 and b2765c45d0 2024-07-03 23:51:56 +02:00
vmrestore deployment: build image for vmagent streamaggr benchmark (#6515) 2024-06-24 16:28:50 +02:00
vmselect 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
vmstorage lib/mergeset: adds tracking for indexdb records drop (#6297) 2024-05-24 14:55:20 +02:00
vmui vmui/logs: add spinner to bar chart (#6577) 2024-07-09 14:58:48 +02:00