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

Reduce 20 mins grace period in DevModeTestUtils to 3 mins #16983

Merged
merged 1 commit into from May 5, 2021
Merged

Reduce 20 mins grace period in DevModeTestUtils to 3 mins #16983

merged 1 commit into from May 5, 2021

Conversation

famod
Copy link
Member

@famod famod commented May 4, 2021

This was introduced 2 years ago by @Sanne and whatever was the reason for such a generous grace period back then, today it shouldn't be necessary anymore and it even conflicts with surefire timeout of 10 mins we have in some places now.
(and it can be annoying locally when you scan for failures in multiple tests of a module, e.g. on JDK 16)

@stuartwdouglas
Copy link
Member

Are we sure that this is no longer a problem? The original issue was that mvn quarkus:dev could download extra dependencies. Maybe these tests should be run in offline mode to make sure that they are not downloading anything as part of the test run.

@stuartwdouglas
Copy link
Member

I do agree that the 20m is super annoying, I have been bitten by it before.

@famod
Copy link
Member Author

famod commented May 5, 2021

Are we sure that this is no longer a problem?

I can only speak for myself and TBH I'm not 100% sure. But I think better reduce it to a more bearable value and see how it goes?

Maybe these tests should be run in offline mode

This is an interesting proposal! I'll put it on my list (unless someone else wants to try it out).

@stuartwdouglas stuartwdouglas merged commit 8ad5630 into quarkusio:main May 5, 2021
@quarkus-bot quarkus-bot bot added this to the 2.0 - main milestone May 5, 2021
@famod famod deleted the DevModeTestUtils-20m branch May 5, 2021 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants