Skip to content

Commit

Permalink
fix(test): shutdown MockBroker
Browse files Browse the repository at this point in the history
Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
  • Loading branch information
dnwe committed Aug 7, 2023
1 parent 1c9ebab commit bb864d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consumer_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func TestConsumerGroupNewSessionDuringOffsetLoad(t *testing.T) {
config.Consumer.Offsets.AutoCommit.Enable = false

broker0 := NewMockBroker(t, 0)
defer broker0.Close()

broker0.SetHandlerByMap(map[string]MockResponse{
"MetadataRequest": NewMockMetadataResponse(t).
Expand Down

0 comments on commit bb864d7

Please # to comment.