Open
Description
Environment
- Go version: 1.22.0
- go-sqlcmd version: 1.8.2
- Operating System: Ubuntu 22.04
- Database Server: SQL Server 2017
How to reproduce
After starting SQL Server 2017 with its credentials on Docker:
docker run -m 2GB -e ACCEPT_EULA=1 -d --name {{ .Env.SQL_SERVER_NAME }} -p:1433:1433 -e SA_PASSWORD={{ .Env.SQLCMDPASSWORD }} mcr.microsoft.com/mssql/server:2017-latest
I'm running the test in Ubuntu 22.04 with:
go test -timeout 30s -run ^TestIncludeFileNoExecutions$
Issue Description
The test TestIncludeFileNoExecutions
in go-sqlcmd v1.8.2 is flaky, sometimes failing inconsistently.
Workaround
Currently we are skipping this test with:
go test -skip=^TestIncludeFileNoExecutions$