-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Pass quarkus args to dev mode gradle task #29250
Conversation
Thanks for your pull request! The title of your pull request does not follow our editorial rules. Could you have a look?
|
f9a02ca
to
850cb1f
Compare
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.
Thanks for this @jacobdotcosta. I will try to push a tests I worked on.
@jacobdotcosta Have you seen how dev mode is tested in https://github.com/quarkusio/quarkus/tree/main/integration-tests/gradle/src/test/java/io/quarkus/gradle/devmode? |
No, I didn't encounter those tests when I looked for them 🤦🏽 . I'll take a look at them now. Thank you @aloubyansky . |
I've implemented a test case for this but it's failing and I need your help with it. Let's hope I can explain myself correctly. I wasn't sure of a way to check the The problem I'm having is that the result of parsing the When I launch the test with the The test output is the following.
But if I execute the
Could you give me a hand with this @glefloch @aloubyansky |
@jacobdotcosta you can see how the log is printed in As to the parsing, you could try checking the value of |
This comment has been minimized.
This comment has been minimized.
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.
Just a note that this will need a squash before merging.
This comment has been minimized.
This comment has been minimized.
I rebased and force pushed. There's a good chance the test failure is not related but let's get another CI run. |
Thank you @gsmet , I was testing doing the squash as I never did it before. 😨 The test error is something that I haven't been able to find yet the reason. If I comment the delete temporary project delete and launch the same |
This comment has been minimized.
This comment has been minimized.
The problem is in the way When starting Quarkus I'll remove the double quotes from the test's |
628e3f9
to
b92e692
Compare
This comment has been minimized.
This comment has been minimized.
The MacOS tests have failed. I can see a
|
...radle/src/test/java/io/quarkus/gradle/devmode/BasicJavaMainApplicationModuleDevModeTest.java
Outdated
Show resolved
Hide resolved
...radle/src/test/java/io/quarkus/gradle/devmode/BasicJavaMainApplicationModuleDevModeTest.java
Outdated
Show resolved
Hide resolved
@jacobdotcosta please squash your commits into one. |
3298a9f
to
2bfdcd8
Compare
2bfdcd8
to
22902d8
Compare
@gsmet could you please give it another look? |
Thanks a lot and sorry for the delay! |
Apparently the test is failing in main. I will revert it for now and open a new PR tomorrow. |
I'll take a look. |
@jacobdotcosta OK. Let me know if you need anything from us. |
Tried to build a test case for this fix but wasn't able to do so asdev
mode doesn't end until you either pressCTRL+C
orq
(quit) on the console .Tested the fix using the jacobdotcosta/quarkus-issue-28443 project.
Closes #28443