diff --git a/util/metrics/counter_test.go b/util/metrics/counter_test.go index 6602dce0bb..ab50110e7d 100644 --- a/util/metrics/counter_test.go +++ b/util/metrics/counter_test.go @@ -66,7 +66,7 @@ func TestMetricCounter(t *testing.T) { test.Lock() defer test.Unlock() - // the the loop above we've created a single metric name with five different labels set ( host0, host1 .. host 4) + // the loop above we've created a single metric name with five different labels set ( host0, host1 .. host 4) // let's see if we received all the 5 different labels. require.Equal(t, 5, len(test.metrics), "Missing metric counts were reported: %+v", test.metrics) @@ -113,7 +113,7 @@ func TestMetricCounterFastInts(t *testing.T) { test.Lock() defer test.Unlock() - // the the loop above we've created a single metric name with five different labels set ( host0, host1 .. host 4) + // the loop above we've created a single metric name with five different labels set ( host0, host1 .. host 4) // let's see if we received all the 5 different labels. require.Equal(t, 1, len(test.metrics), "Missing metric counts were reported: %+v", test.metrics) @@ -162,7 +162,7 @@ func TestMetricCounterMixed(t *testing.T) { test.Lock() defer test.Unlock() - // the the loop above we've created a single metric name with five different labels set ( host0, host1 .. host 4) + // the loop above we've created a single metric name with five different labels set ( host0, host1 .. host 4) // let's see if we received all the 5 different labels. require.Equal(t, 1, len(test.metrics), "Missing metric counts were reported: %+v", test.metrics) diff --git a/util/metrics/gauge_test.go b/util/metrics/gauge_test.go index a2c9051482..d3ef26a416 100644 --- a/util/metrics/gauge_test.go +++ b/util/metrics/gauge_test.go @@ -68,7 +68,7 @@ func TestMetricGauge(t *testing.T) { test.Lock() defer test.Unlock() - // the the loop above we've created 3 separate gauges + // the loop above we've created 3 separate gauges // let's see if we received all 3 metrics require.Equal(t, 3, len(test.metrics), "Missing metric counts were reported: %+v", test.metrics)