From 01325cd05b558b10b651ae20476a859f1fac0dd8 Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Tue, 16 Jul 2024 00:27:05 +0000 Subject: [PATCH] Putting in a longer delay to let the process start --- test/CommunityToolkit.Aspire.AppHost.Tests/ProgramTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/CommunityToolkit.Aspire.AppHost.Tests/ProgramTests.cs b/test/CommunityToolkit.Aspire.AppHost.Tests/ProgramTests.cs index 8e1fc1df..19822c55 100644 --- a/test/CommunityToolkit.Aspire.AppHost.Tests/ProgramTests.cs +++ b/test/CommunityToolkit.Aspire.AppHost.Tests/ProgramTests.cs @@ -34,6 +34,9 @@ public async Task Given_Executable_Resource_When_Invoked_Then_Root_Returns_OK() // Act var httpClient = app.CreateHttpClient("executableapp"); + + await Task.Delay(TimeSpan.FromSeconds(30)); + var response = await httpClient.GetAsync("/"); // Assert