Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions util/metrics/counter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)

Expand Down Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion util/metrics/gauge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down