testIfPluginsEnableDisableTime
public void testIfPluginsEnableDisableTime()
throws Exception
This test will restore an xml with 15,000 custom fields and install two plugins, One Thousand Component and Two Thousand Component plugins.
The latter plugin has a dependency on the former and in total they have 3,000 modules.
While enabling or disabling a plugin, a PluginModuleDisabledEvent is sent for each module, which causes a cache reset.
If there is a traffic while enabling/disabling a plugin, with each request the caches will be filled and afterwards reset again due to PluginModuleDisabledEvent.
This contention on caches will continue until the plugin operation is done and cause huge delays for user traffic and enable/disable time.
- Throws:
Exception