I have a weird problem. In my Symfony project I use a Postgresql database.
If I run my panther tests all things went well.
Now I have installed this bundle hautelook/alice-bundle
. As soon as I activate the ReloadDatabaseTrait
in a panther test this test will fail. It fails due to a timeout on a database connection. For some reason the this bundle refuses new database connections.
I use the default settings from the alice bundle with a simple yaml file.
Anyone having a solution for this? Thanks in advance!
Found it the test.env has a reference to the env=test. This should be env=panther
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.