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

Add environment variable to set the timeout when starting dev mode Liberty for debugging #1062

Merged
merged 4 commits into from
Oct 31, 2024

Conversation

turkeylurkey
Copy link
Member

@turkeylurkey turkeylurkey commented Oct 29, 2024

Fixes #1060

The default value is 3 minutes. This was chosen because Gradle can be slow to start. On github action machines it can take 4-5 minutes to start Liberty dev mode. So we added an environment variable to allow us to specify a longer timeout when testing. The timeout when testing is 8 minutes.

Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Copy link
Contributor

@mrglavas mrglavas left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks. Happy Halloween.

Copy link
Contributor

@TrevCraw TrevCraw left a comment

Choose a reason for hiding this comment

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

Looks good, thanks. And we got a green build on Mac! It's a Halloween miracle!

@turkeylurkey turkeylurkey changed the title Increase the timeout to connect the debugger to Liberty to 6 minutes Add environment variable to set the timeout when starting dev mode Liberty for debugging Oct 31, 2024
@turkeylurkey turkeylurkey merged commit cc23014 into OpenLiberty:main Oct 31, 2024
2 of 3 checks passed
@turkeylurkey turkeylurkey deleted the issue-1060 branch October 31, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mac automated UI test failure: An error was detected while attaching the JVM
3 participants