Skip to content

Commit

Permalink
fix(test): use correct v7 mock ProduceResponse
Browse files Browse the repository at this point in the history
Signed-off-by: Dominic Evans <[email protected]>
  • Loading branch information
dnwe committed Aug 3, 2023
1 parent 2f4bbaf commit 64021f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async_producer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,7 @@ func TestTxnProduceBumpEpoch(t *testing.T) {
broker.Returns(addPartitionsToTxnResponse)

produceResponse := new(ProduceResponse)
produceResponse.Version = 3
produceResponse.Version = 7
produceResponse.AddTopicPartition("test-topic", 0, ErrOutOfOrderSequenceNumber)
broker.Returns(produceResponse)

Expand Down

0 comments on commit 64021f0

Please sign in to comment.