diff --git a/server/integration-tests/src/test/java/io/smallrye/graphql/tests/client/dynamic/NestedRecordsTest.java b/server/integration-tests/src/test/java/io/smallrye/graphql/tests/client/dynamic/NestedRecordsTest.java index 17ad8025b..aa041f533 100644 --- a/server/integration-tests/src/test/java/io/smallrye/graphql/tests/client/dynamic/NestedRecordsTest.java +++ b/server/integration-tests/src/test/java/io/smallrye/graphql/tests/client/dynamic/NestedRecordsTest.java @@ -25,7 +25,6 @@ import org.jboss.arquillian.test.api.ArquillianResource; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.spec.WebArchive; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; @@ -69,9 +68,13 @@ public void testNestedRecordWithMissingFieldInQuery() throws Exception { } } - @Ignore("In Java 21 this test fails due to a bug (presumably) in the JSON-B implementation – Yasson)") @Test public void testNestedRecordWithListWithMissingFieldInQuery() throws Exception { + if (System.getProperty("java.version").startsWith("21.")) { + // In Java 21 this test fails due to a bug in the JDK" + // see: https://bugs.openjdk.org/browse/JDK-8320575 + return; + } try (DynamicGraphQLClient client = new VertxDynamicGraphQLClientBuilder() .url(testingURL.toString() + "graphql").build()) { Document query = document(operation(