VictoriaMetrics/lib/protoparser
Aliaksandr Valialkin a9525da8a4
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:40:50 +02:00
..
common lib/protoparser: decrease import.maxLineLen from 100MB to 10MB (#5364) 2023-11-24 12:53:04 +02:00
csvimport lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 21:59:51 +02:00
datadogsketches lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 21:59:51 +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:04:53 +02:00
datadogv1 lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 21:59:51 +02:00
datadogv2 lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 21:59:51 +02:00
graphite lib: consistently use f-tests instead of table-driven tests 2024-07-09 22:40:50 +02:00
influx lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 21:59:51 +02:00
native/stream lib/protoparser/native: extract stream parsing code into a separate stream package 2023-02-13 10:43:05 -08:00
newrelic lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 21:59:51 +02:00
opentelemetry lib/protoparser/opentelemetry/firehose: escape requestID before returning it to user (#6451) 2024-06-10 16:55:59 +02:00
opentsdb lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 21:59:51 +02:00
opentsdbhttp lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 21:59:51 +02:00
prometheus Revert "Exemplar support (#5982)" 2024-07-03 15:30:21 +02:00
promremotewrite/stream lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 21:59:51 +02:00
vmimport lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool 2024-04-20 21:59:51 +02:00