Skip to content

Commit

Permalink
Change ping to timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Duplenskikh committed Jan 17, 2024
1 parent f6050c9 commit f7bf96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Test/L0/ProcessInvokerL0.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task TestCancel()
Task execTask;
if (TestUtil.IsWindows())
{
execTask = processInvoker.ExecuteAsync("", "cmd", $"/c \"ping 127.0.0.1 -n {SecondsToRun} > nul\"", null, tokenSource.Token);
execTask = processInvoker.ExecuteAsync("", "cmd", $"/c \"timeout {SecondsToRun} > nul\"", null, tokenSource.Token);
}
else
{
Expand Down

0 comments on commit f7bf96f

Please sign in to comment.