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

Should test task configuration be optimized for dev mode? #127

Open
scottkurz opened this issue Apr 7, 2023 · 0 comments
Open

Should test task configuration be optimized for dev mode? #127

scottkurz opened this issue Apr 7, 2023 · 0 comments

Comments

@scottkurz
Copy link
Member

The build.gradle configuration of test.dependsOn 'libertyStart' results in a good portion of the "lifecycle" being re-executed ever time tests are run in dev mode.

One particular issue with this is that the feature install processing takes a long time, even when all features have already been installed. (This is tracked in the liberty-maven-plugin at: OpenLiberty/ci.maven#1557, and there is an issue linked, opened against the Open Liberty runtime as well).

The reason we establish this task dependency is so that someone can simply do gradle test without having to know how to install/deploy/start etc.

I'm not sure there's a great way to satisfy the dual goals of providing a simple interface outside of dev mode, eg. in CI/CD, as well as a tighter test cycle within dev mode. It's possible we just have to pick one or the other and maybe document the issue.

Opening this issue to consider from this guide's perspective.

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

No branches or pull requests

1 participant