We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f77b96 commit 138befaCopy full SHA for 138befa
internal/consumer_test.go
@@ -679,8 +679,8 @@ func TestStreamConsumer_Transaction(t *testing.T) {
679
consumer.Transaction(producer, msg, session)
680
681
assert.Equal(t, 1, producer.BeginTxnCalled)
682
- assert.Equal(t, 2, producer.AddMessageToTxnCalled)
683
- assert.Equal(t, 1, producer.CommitTxnCalled)
+ assert.Equal(t, 1, producer.AddMessageToTxnCalled)
+ assert.Equal(t, 10, producer.CommitTxnCalled)
684
685
assert.Equal(t, 0, session.ResetOffsetCalled)
686
assert.Equal(t, 0, producer.AbortTxnCalled)
0 commit comments