Chia-Ping Tsai created KAFKA-16813: -------------------------------------- Summary: Add global timeout for "@Test" and "@TestTemplate" Key: KAFKA-16813 URL: https://issues.apache.org/jira/browse/KAFKA-16813 Project: Kafka Issue Type: Improvement Reporter: Chia-Ping Tsai Assignee: Chia-Ping Tsai
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)