Skip to content

Commit

Permalink
Ignoring testNestedRecordWithListWithMissingFieldInQuery due to JDK (…
Browse files Browse the repository at this point in the history
…21) bug
  • Loading branch information
mskacelik committed Dec 11, 2024
1 parent 95641c9 commit 178060a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 178060a

Please sign in to comment.