Class TestPluginEnableAndDisableTime
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.plugin.TestPluginEnableAndDisableTime
-
Field Summary
FieldsFields inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis test will restore an xml with 15,000 custom fields and install two plugins, One Thousand Component and Two Thousand Component plugins.Methods inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
getAssertions, getBackdoor, getEnvironmentData, getTester
-
Field Details
-
funcTestRuleChain
public org.junit.rules.RuleChain funcTestRuleChain
-
-
Constructor Details
-
TestPluginEnableAndDisableTime
public TestPluginEnableAndDisableTime()
-
-
Method Details
-
testIfPluginsEnableDisableTime
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
-