From f73f0b4b72fd38881c5c96c196f0e6622b44143a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vandon?= Date: Thu, 4 Sep 2025 15:32:32 +0200 Subject: [PATCH] apply the fix from #9128 to the other instance of the test --- .../graphql-java-14.0/src/test/groovy/GraphQLTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dd-java-agent/instrumentation/graphql-java/graphql-java-14.0/src/test/groovy/GraphQLTest.groovy b/dd-java-agent/instrumentation/graphql-java/graphql-java-14.0/src/test/groovy/GraphQLTest.groovy index 62dc90d324b..e2d1bb2ca82 100644 --- a/dd-java-agent/instrumentation/graphql-java/graphql-java-14.0/src/test/groovy/GraphQLTest.groovy +++ b/dd-java-agent/instrumentation/graphql-java/graphql-java-14.0/src/test/groovy/GraphQLTest.groovy @@ -78,7 +78,7 @@ abstract class GraphQLTest extends VersionedNamingTestBase { .type(newTypeWiring("Book").dataFetcher("year", new DataFetcher>() { @Override CompletionStage get(DataFetchingEnvironment environment) throws Exception { - return CompletableFuture.completedStage(2015) + return CompletableFuture.completedFuture(2015) } })) .build()