21
21
import com .synopsys .integration .rest .RestConstants ;
22
22
import com .synopsys .integration .rest .exception .IntegrationRestException ;
23
23
24
- public class JiraCloudAppServiceTestIT extends JiraCloudParameterizedTestIT {
25
- private static final int WAIT_TIME = 1000 ;
24
+ class JiraCloudAppServiceTestIT extends JiraCloudParameterizedTestIT {
25
+ private static final int WAIT_TIME = 10000 ;
26
26
private static final String APP_KEY = "com.synopsys.integration.alert" ;
27
27
private static final String APP_CLOUD_URI = "https://blackducksoftware.github.io/alert-issue-property-indexer/JiraCloudApp/1.0.0/atlassian-connect.json" ;
28
28
@@ -33,8 +33,7 @@ public void waitForUninstallToFinish() throws InterruptedException {
33
33
34
34
@ ParameterizedTest
35
35
@ MethodSource ("getParameters" )
36
- @ Disabled ("This test is flaky as it occasionally takes too long to install and fails the test" )
37
- public void installMarketplaceAppTest (JiraHttpClient jiraHttpClient ) throws Exception {
36
+ void installMarketplaceAppTest (JiraHttpClient jiraHttpClient ) throws Exception {
38
37
JiraCloudServiceTestUtility .validateConfiguration ();
39
38
JiraCloudServiceFactory serviceFactory = JiraCloudServiceTestUtility .createServiceFactory (jiraHttpClient );
40
39
PluginManagerService pluginManagerService = serviceFactory .createPluginManagerService ();
@@ -49,7 +48,7 @@ public void installMarketplaceAppTest(JiraHttpClient jiraHttpClient) throws Exce
49
48
@ ParameterizedTest
50
49
@ MethodSource ("getParameters" )
51
50
@ Disabled ("Disabled because development mode will likely not be turned on most of the time" )
52
- public void installCloudDevelopmentAppTest (JiraHttpClient jiraHttpClient ) throws Exception {
51
+ void installCloudDevelopmentAppTest (JiraHttpClient jiraHttpClient ) throws Exception {
53
52
JiraCloudServiceTestUtility .validateConfiguration ();
54
53
JiraCloudServiceFactory serviceFactory = JiraCloudServiceTestUtility .createServiceFactory (jiraHttpClient );
55
54
PluginManagerService pluginManagerService = serviceFactory .createPluginManagerService ();
@@ -63,8 +62,7 @@ public void installCloudDevelopmentAppTest(JiraHttpClient jiraHttpClient) throws
63
62
64
63
@ ParameterizedTest
65
64
@ MethodSource ("getParameters" )
66
- @ Disabled ("This test is flaky as it occasionally takes too long to install and fails the test" )
67
- public void getInstalledAppsTest (JiraHttpClient jiraHttpClient ) throws IntegrationException , InterruptedException {
65
+ void getInstalledAppsTest (JiraHttpClient jiraHttpClient ) throws IntegrationException , InterruptedException {
68
66
JiraCloudServiceTestUtility .validateConfiguration ();
69
67
JiraCloudServiceFactory serviceFactory = JiraCloudServiceTestUtility .createServiceFactory (jiraHttpClient );
70
68
PluginManagerService pluginManagerService = serviceFactory .createPluginManagerService ();
0 commit comments