VictoriaMetrics/lib/protoparser
Aliaksandr Valialkin 9edeecabc8
lib: consistently use f-tests instead of table-driven tests
This makes easier to read and debug these tests. This also reduces test lines count by 15% from 3K to 2.5K .
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*, since t.Error* usually leads
to more complicated and fragile tests, while it doesn't bring any practical benefits over t.Fatal*.
2024-07-09 22:39:13 +02:00
..
clusternative/stream Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:25:49 +02:00
common lib/protoparser: decrease import.maxLineLen from 100MB to 10MB (#5364) 2023-11-24 13:13:33 +02:00
csvimport lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
datadogsketches lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
datadogutils lib/protoparser: add missing /datadog/ prefix to the /api/v2/series path in the description for -datadog.maxInsertRequestSize command-line flag 2023-12-21 21:05:24 +02:00
datadogv1 lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
datadogv2 lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
graphite lib: consistently use f-tests instead of table-driven tests 2024-07-09 22:39:13 +02:00
influx lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
native/stream lib/protoparser/native: extract stream parsing code into a separate stream package 2023-02-13 10:44:27 -08:00
newrelic lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
opentelemetry lib/protoparser/opentelemetry/firehose: escape requestID before returning it to user (#6451) 2024-06-10 18:06:24 +02:00
opentsdb lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
opentsdbhttp lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
prometheus Revert "Exemplar support (#5982)" 2024-07-03 16:09:18 +02:00
promremotewrite/stream lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00
vmimport lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 22:02:39 +02:00