diff --git a/test/LibplanetConsole.Consoles.Tests/ProcessTest.cs b/test/LibplanetConsole.Consoles.Tests/ProcessTest.cs index c6af3130..73242e61 100644 --- a/test/LibplanetConsole.Consoles.Tests/ProcessTest.cs +++ b/test/LibplanetConsole.Consoles.Tests/ProcessTest.cs @@ -173,9 +173,9 @@ public async Task RunAsync_Runtime_Timeout_ThrowTestAsync() { var dotnetPath = ProcessEnvironment.DotnetPath; var executionPath = consoleApplicationFixture.ExecutionPath; - var process = new TestProcess(dotnetPath, executionPath, "1000"); + var process = new TestProcess(dotnetPath, executionPath, "10000"); using var cancellationTokenSource = new CancellationTokenSource(10); - await Assert.ThrowsAsync( + await Assert.ThrowsAnyAsync( () => process.RunAsync(cancellationTokenSource.Token)); Assert.False(process.IsRunning); Assert.Equal(-1, process.Id);