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

DriverTest::testDatabaseParameters() is unstable #3471

Closed
morozov opened this issue Feb 25, 2019 · 2 comments · Fixed by #3473
Closed

DriverTest::testDatabaseParameters() is unstable #3471

morozov opened this issue Feb 25, 2019 · 2 comments · Fixed by #3473
Assignees
Milestone

Comments

@morozov
Copy link
Member

morozov commented Feb 25, 2019

Q A
BC Break no
Version 2.10.0-dev

In the last couple of weeks, I've seen this test failing a few times for no reason.

When running against PostgreSQL, it may fail like this:

1) Warning
The data provider specified for Doctrine\Tests\DBAL\Functional\Driver\PDOPgSql\DriverTest::testDatabaseParameters is invalid.
An exception occurred in driver: SQLSTATE[08006] [7] server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

When running against MySQL (yes), it may fail like this:

1) Warning
The data provider specified for Doctrine\Tests\DBAL\Functional\Driver\PDOPgSql\DriverTest::testDatabaseParameters is invalid.
An exception occurred in driver: SQLSTATE[HY000] [2006] MySQL server has gone away

In its data provider, the test tries to detect the database name specified in the connection parameters and by that triggers the database connection while the database seems to be not yet ready.

@Majkl578
Copy link
Contributor

Majkl578 commented Apr 2, 2019

Relevant PR: #3426

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants