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 <mark.hindess@gmail.com>
Signed-off-by: Ioan Zicu <ioan.zicu@nokia.com>
  • Loading branch information
hindessm authored and Ioan Zicu committed Jul 31, 2023
1 parent 0e2f1d5 commit c1f290a
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 c1f290a

Please sign in to comment.