diff --git a/src/Fluss.HotChocolate.IntegrationTest/HotChocolateTest.cs b/src/Fluss.HotChocolate.IntegrationTest/HotChocolateTest.cs index 5f603e7..2a08501 100644 --- a/src/Fluss.HotChocolate.IntegrationTest/HotChocolateTest.cs +++ b/src/Fluss.HotChocolate.IntegrationTest/HotChocolateTest.cs @@ -104,7 +104,7 @@ private async Task>> SubscribeToTodos(CancellationToken ct) socket.Options.AddSubProtocol("graphql-transport-ws"); await socket.ConnectAsync(new Uri(Address.Replace("http", "ws") + "/graphql"), CancellationToken.None); - Task.Run(async () => + _ = Task.Run(async () => { while (true) {