You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, after we upgraded to newest IntegreSQL we noticed tests started failing randomly with error that the DB we try to use doesn't exist.
I pinpointed the issue to query creating DB in PostgreSQL and not waiting for it to finish, while the client libraries would continue executing and trying to not (yet) existing DB.
postgres-1 | 2024-02-09 12:18:27.531 UTC [3827] LOG: statement: CREATE DATABASE "integresql_test_00bd369da024925dba2efdb4ce82cffc421b349d_020" WITH OWNER "fym" TEMPLATE "integresql_template_00bd369da024925dba2efdb4ce82cffc421b349d"
postgres-1 | 2024-02-09 12:18:27.531 UTC [3833] FATAL: database "integresql_test_00bd369da024925dba2efdb4ce82cffc421b349d_020" does not exist
postgres-1 | 2024-02-09 12:18:27.531 UTC [3833] DETAIL: It seems to have just been dropped or renamed.
It was working just fine with previous version, so I am guessing there was some change in IntegreSQL?
The fix for us right now was to try to connect to DB multiple times until it works
Experienced the same thing in CI builds on Azure DevOps after upgrading (tests were running fine on v1.0, but are not finding the DB in v1.1).
Running tests locally worked for me, though
Hi, after we upgraded to newest IntegreSQL we noticed tests started failing randomly with error that the DB we try to use doesn't exist.
I pinpointed the issue to query creating DB in PostgreSQL and not waiting for it to finish, while the client libraries would continue executing and trying to not (yet) existing DB.
It was working just fine with previous version, so I am guessing there was some change in IntegreSQL?
The fix for us right now was to try to connect to DB multiple times until it works
The text was updated successfully, but these errors were encountered: