mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-22 15:30:59 +00:00
Remove redundant code in counter inc test
Signed-off-by: Clayton O'Neill <claytono@github.com>
This commit is contained in:
parent
a241eb0b69
commit
f6f1d7f071
1 changed files with 1 additions and 0 deletions
|
@ -620,6 +620,7 @@ func TestCounterIncrement(t *testing.T) {
|
|||
},
|
||||
}
|
||||
events <- c
|
||||
// Push empty event so that we block until the first event is consumed.
|
||||
events <- Events{}
|
||||
close(events)
|
||||
|
||||
|
|
Loading…
Reference in a new issue