mirror of
https://github.com/apache/kafka.git
synced 2026-11-04 04:44:54 +00:00
As mentioned in https://github.com/apache/kafka/pull/22017#discussion_r4429568025, the class-level `@Timeout` on these test classes is redundant. JUnit resolves a method-level `@Timeout` before the class-level one, and a class-level `@Timeout` only applies to test methods that have no timeout of their own. `@ClusterTest`, `@ClusterTests` and `@ClusterTemplate` are meta-annotated with `@Timeout(60)`, so each cluster test method effectively carries a method-level timeout. The changed test classes only contain cluster test methods, so I removed the redundant `@Timeout` from them. Reviewers: Chia-Ping Tsai <chia7712@gmail.com>