Skip to content
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

[FLINK-5402] [FLINK-5389] Increase test timeouts #3430

Closed
wants to merge 2 commits into from

Conversation

uce
Copy link
Contributor

@uce uce commented Feb 28, 2017

Some users reported running into timeouts due to too "aggressive" timeouts for certain configurations (as mentioned by Dawid in FLINK-5402).

The changed timeouts don't affect the failure free runtime of the tests.

@@ -135,7 +135,7 @@ public void testGetAddress() {
* @throws ExecutionException
* @throws InterruptedException
*/
@Test(timeout = 1000)
@Test
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tillrohrmann Is is OK to remove these timeouts? We still catch this with the build timeout stack traces if no progress happens. As an alternative, we can increase the timeout to a higher value.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be ok to remove the timeout, but I think that the build timeout stack traces are not so nice to see which test case actually caused the timeout. The reason for this is that there are multiple test cases being executed in parallel.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, never noticed this problem, but will check it the next time. Maybe we can improve something. ;-) I'll leave the JUnit timeout and increase it to a higher value like 60000. I think that's a good compromise?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@asfgit asfgit closed this in 72f18dc Mar 1, 2017
p16i pushed a commit to p16i/flink that referenced this pull request Apr 16, 2017
@uce uce deleted the test_timeouts branch July 4, 2017 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants