[
https://issues.apache.org/jira/browse/KAFKA-21030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kuan Po Tseng reassigned KAFKA-21030:
-------------------------------------
Assignee: Kuan Po Tseng (was: Chia-Ping Tsai)
> Enhance the test coverage of CleanedTransactionMetadata
> -------------------------------------------------------
>
> Key: KAFKA-21030
> URL: https://issues.apache.org/jira/browse/KAFKA-21030
> Project: Kafka
> Issue Type: Test
> Reporter: Chia-Ping Tsai
> Assignee: Kuan Po Tseng
> Priority: Minor
>
> {{CleanedTransactionMetadata}} is currently covered only indirectly through
> {{{}LogCleanerTest{}}}.
> Suggested cases:
> * flush with nothing staged is a no-op
> * abort marker with observed batches is retained and its {{AbortedTxn}} is
> flushed
> * abort marker with no observed batches is discarded and nothing is flushed
> * multiple staged txns are flushed in order; a second flush is empty
> * {{IOException}} from {{TransactionIndex.append}} propagates
--
This message was sent by Atlassian Jira
(v8.20.10#820010)