diff --git a/tsdb/record/bench_test.go b/tsdb/record/bench_test.go index 64c8ad4702..8c12b5656d 100644 --- a/tsdb/record/bench_test.go +++ b/tsdb/record/bench_test.go @@ -129,6 +129,7 @@ var ( } ) +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkEncode_Samples' \ @@ -172,6 +173,7 @@ func BenchmarkEncode_Samples(b *testing.B) { } } +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkDecode_Samples' \ @@ -225,6 +227,7 @@ var ( histCounts = testrecord.HistCounts ) +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkEncode_Histograms' \ @@ -280,6 +283,7 @@ func BenchmarkEncode_Histograms(b *testing.B) { } } +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkDecode_Histograms' \ @@ -336,6 +340,7 @@ func BenchmarkDecode_Histograms(b *testing.B) { } } +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkEncode_FloatHistograms' \ @@ -391,6 +396,7 @@ func BenchmarkEncode_FloatHistograms(b *testing.B) { } } +//nolint:godot /* go test ./tsdb/record/... \ -run '^$' -bench '^BenchmarkDecode_FloatHistograms' \ diff --git a/tsdb/record/record_test.go b/tsdb/record/record_test.go index 1e50d569b9..77fc715191 100644 --- a/tsdb/record/record_test.go +++ b/tsdb/record/record_test.go @@ -486,8 +486,8 @@ func TestRecord_MixedRegularAndCustomBucketHistogramPermutations(t *testing.T) { sts []int64 } type tc struct { - name string - kinds []string + name string + kinds []string } testCases := []tc{