Skip to content
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

Streamline cache creation in tests #9451

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Jan 31, 2022

In our functional tests, we evaluate a global variable DOCTRINE_CACHE_IMPL which allows us to change the Doctrine Cache implementation of the metadata cache. I am not aware that we use that feature anywhere in the CI. Also, when migrating away from Doctrine Cache, we would need to revamp that "feature".

This is why I'd like to remove that feature entirely.

Additionally, since we lazily create multiple caches in our test suite, I wanted to make sure we always do it the same way.

@derrabus derrabus added this to the 2.12.0 milestone Jan 31, 2022
@derrabus derrabus merged commit 92d27f2 into doctrine:2.12.x Jan 31, 2022
@derrabus derrabus deleted the remove/cache-impl-global branch January 31, 2022 20:55
derrabus added a commit to derrabus/orm that referenced this pull request Jan 31, 2022
* 2.12.x:
  Support enums in findBy() calls (doctrine#9453)
  Streamline cache creation in tests (doctrine#9451)
n-e-m-a-nj-a pushed a commit to n-e-m-a-nj-a/orm that referenced this pull request Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants