Replies: 4 comments
-
Hi, I have no idea what you're talking about as I don't use PostgreSQL; btw it's up to you to redirect each subprocess to use the a different schema, see for example https://github.com/paratestphp/paratest#test-token |
Beta Was this translation helpful? Give feedback.
-
I've a feeling this is related to the support of paratest in Laravel via https://laravel.com/docs/8.x/testing#running-tests-in-parallel I know that this implementation only works with the default "database connection" (though OP is talking about schemas, so who knows). |
Beta Was this translation helpful? Give feedback.
-
Do you guys have found any solution for Laravel? The problem with Postgres is when you use a schema name different than
Paratest always tries to use This is a problem, because sometimes you don't want to use |
Beta Was this translation helpful? Give feedback.
-
I have a project that uses multiple schemas in laravel, can confirm behaviour above is still the same, works if you don't use --parallel I'm guessing there's no workaround for this? |
Beta Was this translation helpful? Give feedback.
-
When using multi schemas on postgres, only the default one is handle by the "paratest".
The others one, furthermore if they have foreign key, do not have their database connection configuration changed.
Beta Was this translation helpful? Give feedback.
All reactions