From aa5a8e3ce6abeee2db8ac7e9f7f93304c272af25 Mon Sep 17 00:00:00 2001 From: Fedor Dudinsky Date: Fri, 16 Feb 2024 15:13:36 +0100 Subject: [PATCH] Enable a single test in JVM mode --- .../ts/http/jakartarest/RESTEasyJacksonSerializationIT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/http/jakarta-rest/src/test/java/io/quarkus/ts/http/jakartarest/RESTEasyJacksonSerializationIT.java b/http/jakarta-rest/src/test/java/io/quarkus/ts/http/jakartarest/RESTEasyJacksonSerializationIT.java index fa90c8603..2ae0ffc0b 100644 --- a/http/jakarta-rest/src/test/java/io/quarkus/ts/http/jakartarest/RESTEasyJacksonSerializationIT.java +++ b/http/jakarta-rest/src/test/java/io/quarkus/ts/http/jakartarest/RESTEasyJacksonSerializationIT.java @@ -3,11 +3,11 @@ import static io.restassured.RestAssured.given; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import io.quarkus.test.scenarios.QuarkusScenario; +import io.quarkus.test.scenarios.annotations.DisabledOnNative; import io.restassured.response.ResponseBodyExtractionOptions; @Tag("QUARKUS-1554") @@ -33,10 +33,10 @@ public void serializeList() { } @Test - @Disabled("https://github.com/quarkusio/quarkus/issues/22654") + @DisabledOnNative(reason = "https://github.com/quarkusio/quarkus/issues/22654") public void serializeBigList() { String basePath = "/hello/big-serialize-list?expSize="; - // Try couple of variations just to tease out possible edge cases + // Try a couple of variations just to tease out possible edge cases mustBeMoreThanZero(makeQuery(basePath + (LONGEST_EAGER_ALLOC - SECOND_RANDOM_VARIATION)).jsonPath().getInt("size")); mustBeMoreThanZero(makeQuery(basePath + (LONGEST_EAGER_ALLOC + FIRST_RANDOM_VARIATION)).jsonPath().getInt("size")); mustBeMoreThanZero(makeQuery(basePath + (THIRD_RANDOM_VARIATION * LONGEST_EAGER_ALLOC - FIRST_RANDOM_VARIATION))