Skip to content

Commit

Permalink
added reproducer for quarkusio/quarkus#36402
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaschner committed Oct 11, 2023
1 parent ecdb0f1 commit 8b5fd15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
7 changes: 0 additions & 7 deletions client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,10 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jsonb</artifactId>
</dependency>

<!-- <dependency>-->
<!-- <groupId>io.quarkus</groupId>-->
<!-- <artifactId>quarkus-rest-client-reactive-jsonb</artifactId>-->
<!-- </dependency>-->
<!-- when switching to classic, the issue with https://github.com/quarkusio/quarkus/issues/35966 goes away -->
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest-client-jsonb</artifactId>
</dependency>

</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ public class TestCommand implements Runnable {
@CommandLine.Option(names = "--client")
boolean isClient;

// run with java -Dquarkus.http.host-enabled=false -jar target/quarkus-app/quarkus-run.jar --client
// run with java -jar target/quarkus-app/quarkus-run.jar --client OR
// target/client-runner --client
@Override
public void run() {
if (isClient) {
quarkus.http.port=0
System.out.println("running test run()");
client.someMethod();
} else {
Expand Down
2 changes: 1 addition & 1 deletion client/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
quarkus.http.port=0
quarkus.http.host-enabled=false

0 comments on commit 8b5fd15

Please sign in to comment.