Files
Jacob Brown ce0a91afa6 ACPT-1666: Fix race conditions in _resetState methods
* WeakMapSorter arguments from root di.xml have been temporarily moved into Config Module
 - This should be moved back to the root di.xml once the issue with array_replace_recursive is fixed in lib/internal/Magento/Framework/ObjectManager/Config/Config.php
 * Changed Magento\Framework\TestFramework\ApplicationStateComparator\ObjectManagerInterface and dependant classes so that we just use _resetState() instead of the individual resetStateWeakMapObjects() and resetStateSharedInstances()
 * In ReloadProcessorComposite, moved ksort to constructor so that it only has to be called once.
 * In Resetter, made new constant RESET_PATH
 * Now using ObjectManager from setObjectManager to construct WeakMapSorter to avoid use of global variable.
 * Moved WeakMapSorter to property in Resetter instead of local variable so that we can cache the sortOrder values which are added dynamically.
 * Changed WeakMapSorter's use of di.xml so that the keys are the class names and the sortValues are the values.
 * WeakMapSorter now uses and caches the sortValues for subclasses and implementations of interfaces.
 * Magento\Framework\TestFramework\ApplicationStateComparator\DynamicFactoryDecorator now uses Resetter
2023-12-06 12:42:13 -06:00
..
2023-01-06 22:17:39 +05:30
2018-08-08 16:25:14 +00:00