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:
parent
283caf9810
commit
a83d6198a5
1 changed files with 43 additions and 6 deletions
|
|
@ -46,7 +46,7 @@ public class StdioServerIntegrationTests(ITestOutputHelper testOutputHelper) : L
|
|||
// https://github.com/dotnet/runtime/issues/109432, https://github.com/dotnet/runtime/issues/44944
|
||||
Assert.Equal(0, kill(process.Id, SIGINT));
|
||||
|
||||
await process.WaitForExitAsync(TimeSpan.FromSeconds(10));
|
||||
await process.WaitForExitAsync(TestConstants.DefaultTimeout);
|
||||
|
||||
Assert.True(process.HasExited);
|
||||
Assert.Equal(0, process.ExitCode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue