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
Running artisan test --parallel on any project with pennant (database driver) will fail most tests with the following error:
Error: Call to a member function prepare() on null
The database driver for pennant appears to be trying to connect to the original database parallel_testing_with_pennant instead of the tokenised databases such as parallel_testing_with_pennant_1 or parallel_testing_with_pennant_2, but I'm not sure.
Pennant Version
1.5.1
Laravel Version
10.39.0
PHP Version
8.2.8
Database Driver & Version
MySQL v8.0.33 for macos 13.3 on arm64 (Homebrew)
Description
Running
artisan test --parallel
on any project with pennant (database driver) will fail most tests with the following error:The database driver for pennant appears to be trying to connect to the original database
parallel_testing_with_pennant
instead of the tokenised databases such asparallel_testing_with_pennant_1
orparallel_testing_with_pennant_2
, but I'm not sure.Steps To Reproduce
Repo: https://github.com/bradietilley/parallel-testing-with-pennant
The text was updated successfully, but these errors were encountered: