Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ public async Task StartScriptShouldWaitForAShortScriptToFinish()
{
var startScriptCommand = new StartScriptCommandV2Builder()
.WithScriptBody("echo \"finished\"")
.WithDurationStartScriptCanWaitForScriptToFinish(TimeSpan.FromSeconds(5))
// Generous so a slow shell startup on a busy build agent doesn't exceed the window. StartScript returns as soon as the script completes, so this doesn't slow the test down.
.WithDurationStartScriptCanWaitForScriptToFinish(TimeSpan.FromSeconds(60))
.WithIsolation(ScriptIsolationLevel.NoIsolation)
.Build();

Expand Down