Skip to content

Commit 6f80da6

Browse files
authored
Extend timeout when waiting for service status (#106998)
1 parent 75adbc7 commit 6f80da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/Microsoft.Extensions.Hosting.WindowsServices/tests/WindowsServiceTester.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private WindowsServiceTester(SafeServiceHandle serviceHandle, RemoteInvokeHandle
4848
{ }
4949
}
5050

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

5353
public new void WaitForStatus(ServiceControllerStatus desiredStatus) =>
5454
WaitForStatus(desiredStatus, WaitForStatusTimeout);

0 commit comments

Comments
 (0)