Commits

Sergey Zhuravel committed 3efef45c32b
BAP-12614: Check tearDown in functional tests (#7109) 1) Default isolation behavior for functional tests is isolation using transaction @dbIsolation annotation is not needed now, it was removed and its behavior applied by default 2) Add @dbIsolationPerTest if you need isolation on test level. No more force options for initClient and loadFixtures methods, use proper isolation instead 3) Working with MQ and transaction fails? MQ is based on job uniqueness, unfortunately, Doctrine is not using onConflict directive. Add @nestTransactionsWithSavepoints to use savepoints, in this case, rollback will be applied to savepoint and test will pass without isolation violations 4) AkeneoBatch EM is now controlled by Doctrine. It was created manually and we had to rollback it each time test do something related to batch jobs. For now, it's isolated automatically 5) @dbReindex removed Used in few tests, but had an impact on overall performance because of excess re-indexations in tests. Use \Oro\Bundle\SearchBundle\Tests\Functional\SearchExtensionTrait::clearIndexTextTable instead once you need it.