-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Make in-memory database tests default to using random name #7102
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@philwebb what did you have in mind for this. Do I understand we want to override the property when our test annotations are used? Somewhere in |
I didn't really have anything in mind, I just added the bug when #7004 was raised so we didn't forget about it. Perhaps we can add something to |
It's already done (#7473) and it isn't the same thing IMO. If we want this to be transparent, it should apply regardless of the test slice. Arguably an integration test should have a fresh database per cached context as well. IMO the best place is the one I've referenced above but I am happy to be proven wrong. |
Let's stick with #7473 and let users enable that setting for integration tests as we need a way for them to opt-in. |
See #7004 for background.
The text was updated successfully, but these errors were encountered: