Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local tests fail with error during connection to MSSQL #74

Open
iliayatsenko opened this issue Dec 3, 2024 · 0 comments · May be fixed by #75
Open

Local tests fail with error during connection to MSSQL #74

iliayatsenko opened this issue Dec 3, 2024 · 0 comments · May be fixed by #75

Comments

@iliayatsenko
Copy link

When running tests locally with make test, the error occurs:

There was 1 error:
1) MssqlDblibDbTest: Connection is kept for the whole suite
 Test  tests/unit/Codeception/Module/Db/MssqlDblibDbTest.php:testConnectionIsKeptForTheWholeSuite
                                                                                                        
  [PDOException] SQLSTATE[01002] Adaptive Server connection failed (host.docker.internal) (severity 9)  
                                                                                                        
#1  /var/www/html/tests/unit/Codeception/Module/Db/AbstractDbTest.php:22
#2  /var/www/html/vendor/bin/codecept:119

ERRORS!
Tests: 33, Assertions: 57, Errors: 1.

It is related to the BC-breaking change in MSSQL docker container, see this issue microsoft/mssql-docker#892 and especially this comment microsoft/mssql-docker#892 (comment)

@iliayatsenko iliayatsenko linked a pull request Dec 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant