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

HotTests option causes 30 second timeout after Java change #750

Open
turkeylurkey opened this issue May 16, 2022 · 0 comments
Open

HotTests option causes 30 second timeout after Java change #750

turkeylurkey opened this issue May 16, 2022 · 0 comments

Comments

@turkeylurkey
Copy link
Member

Use LGP 3.3 and a project like demo-devmode. Start dev mode with:
gradle clean libertyDev --hotTests

After the server starts, edit a file like SystemResource.java. Add a space and then delete that space. Save the file.

Source compilation was successful.

CWWKM2010I: Searching for CWWKZ0003I: in /Users/admin/demo-devmode/build/wlp/usr/servers/defaultServer/logs/messages.log. This search will timeout after 30 seconds.
CWWKM2011E: Timed out searching for CWWKZ0003I: in /Users/admin/demo-devmode/build/wlp/usr/servers/defaultServer/logs/messages.log.

Dev mode attempts to compile the source and prints the message it was successful. However, the class file was not updated and Liberty does not redeploy the app. Dev mode does not detect this and it waits 30s before running the tests.

Perhaps the compilation step returns a status field to indicate no class files were changed and dev mode could use this not to wait before running tests or perhaps the tests do not need to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant