-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KAFKA-16813: Add global timeout for @ClusterTemplate
, @ClusterTest
and @ClusterTests
#16957
Conversation
@m1a2st please rebase code and fix conflicts |
f904c3a
to
87526db
Compare
@m1a2st can you pull in the latest trunk changes? I have added code to report the JUnit failures in the Github Actions workflows. I want to do a few runs with this change to ensure we haven't introduced a bunch of timeout failures |
@m1a2st could you please add timeout to |
I rebased it.
I think I should add a constant in TestUtils for 30 second, It will be more easy to controll this parameter. WDYT? |
there are only 3 annotations needing the |
I have filed https://issues.apache.org/jira/browse/KAFKA-17418 to fix the markdown |
@m1a2st Could you please list the timeout tests? Maybe we can file PR to speedup them |
I will check these tests which timeout 30 second
This test is timeout for 120s
This is flaky |
|
I open these jira tasks to trace these timeout tests |
@m1a2st Could you please rebase code to trigger QA again? |
a553a24
to
fd9aae0
Compare
@m1a2st Could you please increase the timeout from 30 secs to 60 secs? It seems to me 30 secs is too small. Also, please merge trunk to run CI again |
and remove timeout for testing with cluster test
fd9aae0
to
ac9855e
Compare
@@ -34,6 +35,7 @@ | |||
@Target({METHOD}) | |||
@Retention(RUNTIME) | |||
@TestTemplate | |||
@Timeout(30) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@m1a2st please change it to 30
second :)
@m1a2st Could you please check the failed tests? It seems no cluster tests have timeout error, so maybe we can keep this "60 seconds" WDYT? |
Hello @chia7712,
I think we could keep the 60s timeout for cluster test. |
@m1a2st Is the PR title accurate? Does this add a global timeout for any test ( |
@mumrah, Thanks for your reminder, we only add timeout for cluster tests in this PR, I should modify the title. |
@m1a2st Do you forgot to add |
I consider the "@testtemplate" is a symbol for these annotations |
@ClusterTemplate
and @ClusterTest
and @ClusterTests
@ClusterTemplate
and @ClusterTest
and @ClusterTests
@ClusterTemplate
, @ClusterTest
and @ClusterTests
…rTest` and `@ClusterTests` (apache#16957) Reviewers: TaiJuWu <[email protected]>, Chia-Ping Tsai <[email protected]>
Jira: https://issues.apache.org/jira/browse/KAFKA-16813
add ClusterTest and ClusterTests timout for 30 seconds.
This is testing for GitHub Action CI.
Committer Checklist (excluded from commit message)