[PR #12086] Add functional strict-locking 2nd level cache test #13465

Open
opened 2026-01-22 16:17:11 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/12086

State: closed
Merged: Yes


Currently, 2nd level caching is functionally tested with only "NONSTRICT_READ_WRITE" cache usage mode.

This PR adds testing with strict "READ_WRITE" mode.

To cover Doctrine\ORM\Cache\Persister\Entity\ReadWriteCachedEntityPersister class, more precisely https://github.com/doctrine/orm/blob/2.20.5/src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php#L76 and https://github.com/doctrine/orm/blob/2.20.5/src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php#L101 methods using E2E functional tests.

**Original Pull Request:** https://github.com/doctrine/orm/pull/12086 **State:** closed **Merged:** Yes --- Currently, 2nd level caching is functionally tested with only "NONSTRICT_READ_WRITE" cache usage mode. This PR adds testing with strict "READ_WRITE" mode. To cover `Doctrine\ORM\Cache\Persister\Entity\ReadWriteCachedEntityPersister` class, more precisely https://github.com/doctrine/orm/blob/2.20.5/src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php#L76 and https://github.com/doctrine/orm/blob/2.20.5/src/Cache/Persister/Entity/ReadWriteCachedEntityPersister.php#L101 methods using E2E functional tests.
admin added the pull-request label 2026-01-22 16:17:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#13465