[
https://issues.apache.org/jira/browse/KAFKA-16813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai updated KAFKA-16813:
-----------------------------------
Parent: KAFKA-17260
Issue Type: Sub-task (was: Improvement)
> Add global timeout for "@Test" and "@TestTemplate"
> --------------------------------------------------
>
> Key: KAFKA-16813
> URL: https://issues.apache.org/jira/browse/KAFKA-16813
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Chia-Ping Tsai
> Assignee: 黃竣陽
> Priority: Minor
>
> in code base `@Test` is used by unit test and `@TestTemplate` is used by
> integration test. The later includes `ParameterizedTest`, `ClusterTest`,
> `ClusterTests`, and `ClusterTemplate`. Hence, we can add two different
> timeout for `@Test` and `@TestTemplate`. For example:
> junit.jupiter.execution.timeout.default = 30s
> junit.jupiter.execution.timeout.testtemplate.method.default = 120s
> The accurate timeout value may need more discussion, but we can try it in
> small junit5 module first. For example: tools module and storage module.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)