From 64e2512f1d1f025de460cd867a5c0f9fb2952a08 Mon Sep 17 00:00:00 2001 From: mvarendorff Date: Mon, 9 Dec 2024 10:10:45 +0100 Subject: [PATCH] chore: ignore Task not awaited warning --- src/Fluss.HotChocolate.IntegrationTest/HotChocolateTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {