Skip to content

Commit

Permalink
Fix failing kafka integration test (#1068)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay authored Sep 20, 2018
1 parent f4438f7 commit 79d10f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugin/storage/integration/kafka_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ func (s *KafkaIntegrationTestSuite) initialize() error {
s.SpanWriter = spanWriter
s.SpanReader = &ingester{traceStore}
s.Refresh = func() error { return nil }
s.CleanUp = func() error { return nil }
s.CleanUp = func() error {
// TODO close would not work if multiple tests are run
spanConsumer.Close()
return nil
}
return nil
}

Expand Down

0 comments on commit 79d10f2

Please sign in to comment.