Skip to content

Commit

Permalink
Extend timeout when waiting for service status (dotnet#106998)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericstj authored and jtschuster committed Sep 17, 2024
1 parent c4cbc08 commit dcc032b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private WindowsServiceTester(SafeServiceHandle serviceHandle, RemoteInvokeHandle
{ }
}

public static TimeSpan WaitForStatusTimeout { get; set; } = TimeSpan.FromSeconds(30);
public static TimeSpan WaitForStatusTimeout { get; set; } = TimeSpan.FromMinutes(3);

public new void WaitForStatus(ServiceControllerStatus desiredStatus) =>
WaitForStatus(desiredStatus, WaitForStatusTimeout);
Expand Down

0 comments on commit dcc032b

Please sign in to comment.