Start SQL Server using a synchronous command to avoid intermittent login failures

See https://github.com/doctrine/dbal/pull/2617#discussion_r177250225.
parent 16937314
...@@ -92,7 +92,7 @@ before_test: ...@@ -92,7 +92,7 @@ before_test:
- ps: >- - ps: >-
if ($env:db -eq "mssql") { if ($env:db -eq "mssql") {
$instanceName = $env:db_version.ToUpper() $instanceName = $env:db_version.ToUpper()
Start-Service "MSSQL`$$instanceName" net start "MSSQL`$$instanceName"
} }
test_script: test_script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment