Replies: 7 comments 14 replies
-
/cc @geoand (testing) |
Beta Was this translation helpful? Give feedback.
-
Can you attach a sample application showing exactly what you are trying to do? |
Beta Was this translation helpful? Give feedback.
-
The problem might be that you need a space between setting different parameter via |
Beta Was this translation helpful? Give feedback.
-
thank you for the quick response. In my test it was correct. I hope I finde the time to do a little reproducer and put a link here |
Beta Was this translation helpful? Give feedback.
-
here's the reproducer: https://github.com/jochenr/quarkus-integration-test-example
...is working then: 1st terminal window
2nd terminal window
...ist not working: |
Beta Was this translation helpful? Give feedback.
-
now I'm confused you don't get the
error when running
? |
Beta Was this translation helpful? Give feedback.
-
Yes, with version 3.0.3.Final I get the same result as you do. So I think I'll have to open a support case now to get it backportedm since I'm using (I have to use) Red Hat build of Quarkus 2.13.x .... Or is my expectation wrong as you first stated this morning? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm struggling with my integration test that works fine, if I just run it with "mvn verify" and the test itself starts my Quarkus application.
Now I want to do what's decribed here:
executing-against-a-running-application
Unfortunately starting my Integration-Test with parameters "-Dquarkus.http.test-host=someHost -Dquarkus.http.test-port=somePort" fails, when it reaches the code reading my application-properties
ConfigProvider.getConfig().getValue("someKey", String.class);
I tried to put a copy of my application.properties to "src/test/resources", but this didn't help.
How can I execute my QuarkusIntegrationTests against a running application so that it still uses the application.properties configuration?
I need this feature for testing Quarkus applications on different stagings/servers from a CI/CD Pipeline.
Thank you,
Jochen
Beta Was this translation helpful? Give feedback.
All reactions