Skip to content

Commit 4be8816

Browse files
committed
MC-31920: Let Magento\Framework\Lock\Backend\Database have 2 locks in single connection
- Make DummyLocker primary lock manager instead of DB lock manager for integration tests;
1 parent 1757a89 commit 4be8816

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/integration/etc/di/preferences

1 file changed

+1
-1
lines changed

dev/tests/integration/etc/di/preferences/ce.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
\Magento\Framework\App\Config\ScopeConfigInterface::class => \Magento\TestFramework\App\Config::class,
2828
\Magento\Framework\App\ResourceConnection\ConfigInterface::class =>
2929
\Magento\Framework\App\ResourceConnection\Config::class,
30-
\Magento\Framework\Lock\Backend\Cache::class =>
30+
\Magento\Framework\Lock\Backend\Database::class =>
3131
\Magento\TestFramework\Lock\Backend\DummyLocker::class,
3232
\Magento\Framework\Session\SessionStartChecker::class => \Magento\TestFramework\Session\SessionStartChecker::class,
3333
\Magento\Framework\HTTP\AsyncClientInterface::class => \Magento\TestFramework\HTTP\AsyncClientInterfaceMock::class,

0 commit comments

Comments
 (0)