Skip to content

Commit 849c8b1

Browse files
authored
fix(test): allow testing of skipped test without IsTransactional panic (IBM#2525)
Signed-off-by: Mark Hindess <[email protected]>
1 parent ecf43f4 commit 849c8b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: functional_consumer_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ func TestReadOnlyAndAllCommittedMessages(t *testing.T) {
233233
ps := &produceSet{
234234
msgs: make(map[string]map[int32]*partitionSet),
235235
parent: &asyncProducer{
236-
conf: config,
236+
conf: config,
237+
txnmgr: &transactionManager{},
237238
},
238239
producerID: pidRes.ProducerID,
239240
producerEpoch: pidRes.ProducerEpoch,

0 commit comments

Comments
 (0)