From 4df9d45e57c5560b0d8573e862a033f26395e851 Mon Sep 17 00:00:00 2001 From: Peter Palaga Date: Fri, 6 Dec 2024 14:45:27 +0100 Subject: [PATCH] Increase the RestAssured socket timeout in hope to see some Vert.x stack trace for #1636 --- .../quarkiverse/cxf/it/fastinfoset/FastInfosetTest.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/integration-tests/fastinfoset/src/test/java/io/quarkiverse/cxf/it/fastinfoset/FastInfosetTest.java b/integration-tests/fastinfoset/src/test/java/io/quarkiverse/cxf/it/fastinfoset/FastInfosetTest.java index a6f0f85f3..bb263e9c1 100644 --- a/integration-tests/fastinfoset/src/test/java/io/quarkiverse/cxf/it/fastinfoset/FastInfosetTest.java +++ b/integration-tests/fastinfoset/src/test/java/io/quarkiverse/cxf/it/fastinfoset/FastInfosetTest.java @@ -7,6 +7,8 @@ import io.quarkus.test.junit.QuarkusTest; import io.restassured.RestAssured; +import io.restassured.config.HttpClientConfig; +import io.restassured.config.RestAssuredConfig; @QuarkusTest public class FastInfosetTest { @@ -35,7 +37,13 @@ void gzip() { @Test void fastInfoset() { + RestAssuredConfig config = RestAssuredConfig.config() + .httpClient(HttpClientConfig.httpClientConfig() + .setParam("http.connection.timeout", 5000) + .setParam("http.socket.timeout", 120000)); + RestAssured.given() + .config(config) .accept("application/fastinfoset") .contentType("text/xml") .body("FastInfoset") @@ -47,6 +55,7 @@ void fastInfoset() { .body(CoreMatchers.containsString("Hello FastInfoset")); RestAssured.given() + .config(config) .body("FastInfoset") .post("/fastinfoset/fastinfoset/hello") .then()