-
Notifications
You must be signed in to change notification settings - Fork 28
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
[BREAKING CHANGE] Use Quarkus Maven plugin for JVM mode tests and isolate tested Quarkus application, simplify creating of reproducers #1375
Conversation
cc35fa1
to
9e97527
Compare
145db90
to
7a75a25
Compare
run tests |
7a75a25
to
a7e9e83
Compare
run tests |
a7e9e83
to
1c70ddf
Compare
run tests |
1c70ddf
to
80ad0ff
Compare
run tests |
9d89922
to
fcdeaf5
Compare
run tests |
fcdeaf5
to
9bd8ad2
Compare
run tests |
9bd8ad2
to
c73eccc
Compare
run tests |
c73eccc
to
e243d50
Compare
run tests |
e243d50
to
ecf7abc
Compare
run tests |
b31e5e2
to
4a65f7e
Compare
run tests |
4a65f7e
to
006fb5f
Compare
run tests |
006fb5f
to
c83dc93
Compare
run tests |
There is no chance I'll be able to finish this, I just don't have time. I'll reduce this PR to what works well and improves current state - use Maven plugin helper for all baremetal runs. |
c83dc93
to
3a02630
Compare
run tests |
3a02630
to
f1c723f
Compare
run tests |
f1c723f
to
f995940
Compare
run tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works nicely and I cannot really find anything wrong about the PR itself.
Thanks for the enhancement.
About the
I think this would require a deeper change in framework (e.g. making applications more isolated) cos I don't really think making workarounds by figuring out the effective pom and the excluding the framework deps gives us much value |
Thanks @mjurc , I'll rerun TS with this FW version (both baremetal and OCP) to re-check there are no issues before I make release. |
As there is a release in progress, I run daily build of this FW project and it is green https://github.com/quarkus-qe/quarkus-test-framework/actions/runs/11934859467 so that means K8 and Windows native are fine as well. |
For record TS daily build with bumped FW was green quarkus-qe/quarkus-test-suite#2208 and OCP looked good as well. |
Summary
TL;DR;
quarkus.build.skip=true
), you need to enforce it, e.g. setts.global.custom-build.required
to use thisPractical example:
Longer version:
Before this PR, we build JVM move tests without forced dependencies directly with Quarkus boostrap. However:
So this PR should make creating reproducers easier, because you will have independent application (no parent, no test framework):
-Dproperty-key=property-value
Cons:
Breaking changes:
io.quarkus.qe:quarkus-test-preparer
to your project and run theprepare-pom-mojo
goalOther changes this PR contains:
Timer
@Mojo
annotation cannot be shorter and formatter drops any line break I add, while checkstyle plugin keeps complaining about line length, so I added checkstyle suppression ruleWhat this PR doesn't do:
Please check the relevant options
run tests
phrase in comment)Checklist: