Skip to content

Commit 1308629

Browse files
committed
Disable GraphQL tests until we have a compatible release
See gh-45494
1 parent e7b4f65 commit 1308629

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/graphql/reactive/GraphQlWebFluxAutoConfigurationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import java.util.function.Consumer;
2323

2424
import graphql.schema.idl.TypeRuntimeWiring;
25+
import org.junit.jupiter.api.Disabled;
2526
import org.junit.jupiter.api.Test;
2627

2728
import org.springframework.aot.hint.RuntimeHints;
@@ -78,6 +79,7 @@
7879
booksOnSale(minPages: Int) : Book!
7980
}
8081
""")
82+
@Disabled("Waiting on compatible release")
8183
class GraphQlWebFluxAutoConfigurationTests {
8284

8385
private static final String BASE_URL = "https://spring.example.org/";

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/graphql/security/GraphQlWebFluxSecurityAutoConfigurationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import java.util.function.Consumer;
2121

2222
import graphql.schema.idl.TypeRuntimeWiring;
23+
import org.junit.jupiter.api.Disabled;
2324
import org.junit.jupiter.api.Test;
2425
import reactor.core.publisher.Mono;
2526

@@ -80,6 +81,7 @@
8081
booksOnSale(minPages: Int) : Book!
8182
}
8283
""")
84+
@Disabled("Waiting on compatible release")
8385
class GraphQlWebFluxSecurityAutoConfigurationTests {
8486

8587
private static final String BASE_URL = "https://spring.example.org/graphql";

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/graphql/security/GraphQlWebMvcSecurityAutoConfigurationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import graphql.schema.idl.TypeRuntimeWiring;
2020
import org.assertj.core.api.ThrowingConsumer;
21+
import org.junit.jupiter.api.Disabled;
2122
import org.junit.jupiter.api.Test;
2223

2324
import org.springframework.boot.autoconfigure.AutoConfigurations;
@@ -80,6 +81,7 @@
8081
booksOnSale(minPages: Int) : Book!
8182
}
8283
""")
84+
@Disabled("Waiting on compatible release")
8385
class GraphQlWebMvcSecurityAutoConfigurationTests {
8486

8587
private final WebApplicationContextRunner contextRunner = new WebApplicationContextRunner()

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/graphql/servlet/GraphQlWebMvcAutoConfigurationTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
package org.springframework.boot.autoconfigure.graphql.servlet;
1818

1919
import java.time.Duration;
20-
import java.util.List;
2120
import java.util.Map;
2221

2322
import graphql.schema.idl.TypeRuntimeWiring;
2423
import org.assertj.core.api.ThrowingConsumer;
24+
import org.junit.jupiter.api.Disabled;
2525
import org.junit.jupiter.api.Test;
2626

2727
import org.springframework.aot.hint.RuntimeHints;
@@ -81,6 +81,7 @@
8181
booksOnSale(minPages: Int) : Book!
8282
}
8383
""")
84+
@Disabled("Waiting on compatible release")
8485
class GraphQlWebMvcAutoConfigurationTests {
8586

8687
private final WebApplicationContextRunner contextRunner = new WebApplicationContextRunner()

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-graphql/src/test/java/smoketest/graphql/GreetingControllerTests.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
1616

1717
package smoketest.graphql;
1818

19+
import org.junit.jupiter.api.Disabled;
1920
import org.junit.jupiter.api.Test;
2021

2122
import org.springframework.beans.factory.annotation.Autowired;
@@ -28,6 +29,7 @@
2829

2930
@SpringBootTest
3031
@AutoConfigureHttpGraphQlTester
32+
@Disabled("Waiting on compatible release")
3133
class GreetingControllerTests {
3234

3335
@Autowired

0 commit comments

Comments
 (0)