abbgrade / PsSmo

The PowerShell SQL Client module replaces the SQL Server utilities SQLCMD with native PowerShell commands.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection timeout in windows build validation

abbgrade opened this issue · comments

Message:

Win32Exception: The wait operation timed out.
SqlException: Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=80714; handshake=11;
at , D:\a\PsSmo\PsSmo\test\Connect-Instance.Tests.ps1:24

Need to check, if custom timeouts are used.
Requires abbgrade/PsBuildTasks#4