Update the timeout of the IaaSProvider test case

Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/8efb2d92
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/8efb2d92
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/8efb2d92

Branch: refs/heads/stratos-4.1.x
Commit: 8efb2d92941ced76139385b3606dbea0dc760fd3
Parents: 0809ec7
Author: gayangunarathne <[email protected]>
Authored: Wed Nov 25 14:52:46 2015 +0530
Committer: gayangunarathne <[email protected]>
Committed: Wed Nov 25 14:52:46 2015 +0530

----------------------------------------------------------------------
 .../integration/tests/iaas/IaasProviderAttributeTestCase.java | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/8efb2d92/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/iaas/IaasProviderAttributeTestCase.java
----------------------------------------------------------------------
diff --git 
a/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/iaas/IaasProviderAttributeTestCase.java
 
b/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/iaas/IaasProviderAttributeTestCase.java
index 3b54e97..b6c4553 100644
--- 
a/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/iaas/IaasProviderAttributeTestCase.java
+++ 
b/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/iaas/IaasProviderAttributeTestCase.java
@@ -19,7 +19,6 @@
 
 package org.apache.stratos.integration.tests.iaas;
 
-import org.apache.commons.lang.ArrayUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.stratos.common.beans.application.ApplicationBean;
@@ -37,9 +36,7 @@ import 
org.wso2.carbon.logging.view.stub.types.carbon.LogEvent;
 
 import java.util.List;
 
-import static org.testng.Assert.assertEquals;
-import static org.testng.Assert.assertNotNull;
-import static org.testng.Assert.assertNull;
+import static org.testng.Assert.*;
 import static org.testng.AssertJUnit.assertTrue;
 
 public class IaasProviderAttributeTestCase extends StratosIntegrationTest {
@@ -60,7 +57,7 @@ public class IaasProviderAttributeTestCase extends 
StratosIntegrationTest {
         serverLogClient = new ServerLogClient(stratosSecuredBackendURL + 
"/services/", adminUsername, adminPassword);
     }
 
-    @Test(timeOut = GLOBAL_TEST_TIMEOUT, groups = {"stratos.cartridge.iaas", 
"all"})
+    @Test(timeOut = IAAS_PROVIDER_TEST_TIMEOUT, groups = 
{"stratos.cartridge.iaas", "all"})
     public void testIaasProviderAttributes () throws Exception {
 
         // add autoscaling policy

Reply via email to