diff --git a/exporter_test.go b/exporter_test.go index 45eaafb..7479232 100644 --- a/exporter_test.go +++ b/exporter_test.go @@ -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)