Centralize test timeout constants to fix CI flakiness (#1224)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ericstj <8918108+ericstj@users.noreply.github.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
This commit is contained in:
Copilot 2026-01-30 13:47:11 -08:00 • committed by GitHub
commit a83d6198a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ public class KestrelInMemoryTest : LoggedTest
protected static void ConfigureHttpClient(HttpClient httpClient)
{
httpClient.BaseAddress = new Uri("http://localhost:5000/");
httpClient.Timeout = TimeSpan.FromSeconds(10);
httpClient.Timeout = TestConstants.HttpClientTimeout;
}
public override void Dispose()