From 155a03e3ba7ee231edd14a66a8c991f1896009b9 Mon Sep 17 00:00:00 2001 From: Rishiraj Anand Date: Tue, 26 Nov 2024 00:19:27 +0530 Subject: [PATCH] Upgrade quarkus to 3.15.2 --- kogito-build/kogito-dependencies-bom/pom.xml | 6 +++--- .../test/java/io/quarkus/it/kogito/devmode/DevMojoIT.java | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/kogito-build/kogito-dependencies-bom/pom.xml b/kogito-build/kogito-dependencies-bom/pom.xml index 0e4ce553a83..0220fc43c72 100644 --- a/kogito-build/kogito-dependencies-bom/pom.xml +++ b/kogito-build/kogito-dependencies-bom/pom.xml @@ -35,7 +35,7 @@ - 3.15.1 + 3.15.2 ${version.io.quarkus} 3.2.6 3.7.0 @@ -90,7 +90,7 @@ 3.11.0 - 4.5.7 + 4.5.10 1.59.1 3.9.0 @@ -111,7 +111,7 @@ 3.1.0 6.2.7.Final - 24.0.4 + 25.0.6 2.12-2.2.1 5.1.4 diff --git a/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test-maven-devmode/src/test/java/io/quarkus/it/kogito/devmode/DevMojoIT.java b/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test-maven-devmode/src/test/java/io/quarkus/it/kogito/devmode/DevMojoIT.java index c8edef6f27c..2219be93156 100644 --- a/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test-maven-devmode/src/test/java/io/quarkus/it/kogito/devmode/DevMojoIT.java +++ b/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test-maven-devmode/src/test/java/io/quarkus/it/kogito/devmode/DevMojoIT.java @@ -41,7 +41,7 @@ import io.quarkus.maven.it.RunAndCheckMojoTestBase; import io.quarkus.maven.it.verifier.MavenProcessInvoker; import io.quarkus.maven.it.verifier.RunningInvoker; -import io.quarkus.test.devmode.util.DevModeTestUtils; +import io.quarkus.test.devmode.util.DevModeClient; import io.restassured.RestAssured; import io.restassured.http.ContentType; @@ -89,11 +89,12 @@ public class DevMojoIT extends RunAndCheckMojoTestBase { private String getRestResponse(String port) { AtomicReference resp = new AtomicReference<>(); + DevModeClient devModeClient = new DevModeClient(Integer.parseInt(port)); // retry on exceptions for connection refused, connection errors, etc. which will occur until the Kogito Quarkus maven project is fully built and running await().pollDelay(INIT_POLL_DELAY, INIT_POLL_DELAY_UNIT) .atMost(INIT_POLL_TIMEOUT, INIT_POLL_TIMEOUT_UNIT).until(() -> { try { - String content = DevModeTestUtils.get("http://localhost:" + port + "/control"); + String content = devModeClient.get("http://localhost:" + port + "/control"); resp.set(content); return true; } catch (Exception e) {