-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
Console commands do not respect dbname_suffix when replica configuration is used #1469
Comments
does this work? doctrine:
dbal:
connections:
default:
dbname_suffix: '_test%env(default::TEST_TOKEN)%'
replicas:
replica1:
dbname_suffix: '_test%env(default::TEST_TOKEN)%' |
Hi @dmaicher, no unfortunately that's being ignored. |
Then this looks like a bug to me. Do you want to look into fixing it @kschusternetformic ? |
Yeah, I will look into it. |
This is a quick fix due to lack of deep knowledge of the project. I hope this at least outlines the problem if the MR itself is not applicable. |
@dmaicher We got it fixed and merged, waiting for release now. Thanks! |
Thanks @kschusternetformic |
When running tests, the
dbname_suffix
is being ignored in thetest/doctrine.yaml
when a replica is set up. I have tried setting this options in the replica section in thetest/doctrine.yaml
, tried to reset the replica in the test environment, all with no effect.Main
doctrine.yaml
:test/doctrine.yaml
:The text was updated successfully, but these errors were encountered: