Skip to content

Commit

Permalink
fix(test): allow testing of skipped test without IsTransactional panic (
Browse files Browse the repository at this point in the history
#2525)

Signed-off-by: Mark Hindess <[email protected]>
  • Loading branch information
hindessm committed Jul 26, 2023
1 parent ecf43f4 commit 849c8b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functional_consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ func TestReadOnlyAndAllCommittedMessages(t *testing.T) {
ps := &produceSet{
msgs: make(map[string]map[int32]*partitionSet),
parent: &asyncProducer{
conf: config,
conf: config,
txnmgr: &transactionManager{},
},
producerID: pidRes.ProducerID,
producerEpoch: pidRes.ProducerEpoch,
Expand Down

0 comments on commit 849c8b1

Please sign in to comment.