Remove redundant code in counter inc test

Signed-off-by: Clayton O'Neill <claytono@github.com>
This commit is contained in:
Clayton O'Neill 2019-05-31 08:31:21 -04:00
parent a241eb0b69
commit f6f1d7f071
No known key found for this signature in database
GPG key ID: 5017D45C788B5274

View file

@ -620,6 +620,7 @@ func TestCounterIncrement(t *testing.T) {
}, },
} }
events <- c events <- c
// Push empty event so that we block until the first event is consumed.
events <- Events{} events <- Events{}
close(events) close(events)