From c1f290ad23a9ed698e07ea45f2083345b8c3627c Mon Sep 17 00:00:00 2001 From: Mark Hindess Date: Wed, 26 Jul 2023 18:13:07 +0100 Subject: [PATCH] fix(test): allow testing of skipped test without IsTransactional panic (#2525) Signed-off-by: Mark Hindess Signed-off-by: Ioan Zicu --- functional_consumer_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functional_consumer_test.go b/functional_consumer_test.go index 5659d20a95..5f63ee93a4 100644 --- a/functional_consumer_test.go +++ b/functional_consumer_test.go @@ -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,