VictoriaMetrics/lib/backup
Aliaksandr Valialkin 43fc1183b9
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:45:50 +02:00
..
actions lib/backup: add -s3TLSInsecureSkipVerify command-line flag () 2024-05-22 16:40:06 +02:00
azremote app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:45:50 +02:00
backupnames fix removing storage data dir before restoring from backup () 2023-07-06 22:32:12 -07:00
common all: replace old https://docs.victoriametrics.com/vmbackup.html url with the new one - https://docs.victoriametrics.com/vmbackup/ 2024-04-18 01:58:00 +02:00
fscommon lib/backup/common: consistently use canonical path with / directory separators at Part.Path 2023-09-19 00:36:32 +02:00
fslocal lib/backup/common: consistently use canonical path with / directory separators at Part.Path 2023-09-19 00:36:32 +02:00
fsnil lib/backup: add MustStop() method for all remote filesystems 2020-10-09 15:32:13 +03:00
fsremote lib/backup/common: consistently use canonical path with / directory separators at Part.Path 2023-09-19 00:36:32 +02:00
gcsremote lib/backup: consistently use path.Join() when constructing paths for s3, gs and azblob 2023-12-04 17:25:41 +02:00
s3remote lib/backup/s3remote: fixed credsFilePath flag () 2024-06-14 14:14:58 +02:00