stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From isu...@apache.org
Subject git commit: setting timeout of test methods to 10 seconds
Date Wed, 08 Oct 2014 16:39:03 GMT
Repository: stratos
Updated Branches:
  refs/heads/4.0.0-grouping e8465eb0c -> cb67a8096


setting timeout of test methods to 10 seconds


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

Branch: refs/heads/4.0.0-grouping
Commit: cb67a8096220a4cc0a57344c64ed34956169dc0d
Parents: e8465eb
Author: Isuru Haththotuwa <isuruh@apache.org>
Authored: Wed Oct 8 22:08:42 2014 +0530
Committer: Isuru Haththotuwa <isuruh@apache.org>
Committed: Wed Oct 8 22:08:42 2014 +0530

----------------------------------------------------------------------
 .../topology/locking/TopologyLockingTest.java   | 22 ++++++++++----------
 1 file changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/cb67a809/components/org.apache.stratos.messaging/src/test/java/org/apache/stratos/messaging/topology/locking/TopologyLockingTest.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/test/java/org/apache/stratos/messaging/topology/locking/TopologyLockingTest.java
b/components/org.apache.stratos.messaging/src/test/java/org/apache/stratos/messaging/topology/locking/TopologyLockingTest.java
index e82699c..88b47f9 100644
--- a/components/org.apache.stratos.messaging/src/test/java/org/apache/stratos/messaging/topology/locking/TopologyLockingTest.java
+++ b/components/org.apache.stratos.messaging/src/test/java/org/apache/stratos/messaging/topology/locking/TopologyLockingTest.java
@@ -91,7 +91,7 @@ public class TopologyLockingTest {
         topology.addApplication(app2);
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAqcuireAndReleaseReadLocksForServices1To2 () {
 
         TopologyManager.acquireReadLockForService("service1");
@@ -101,7 +101,7 @@ public class TopologyLockingTest {
         TopologyManager.releaseReadLockForService("service2");
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAqcuireAndReleaseReadLocksForServices3To4 () {
 
         TopologyManager.acquireReadLockForService("service3");
@@ -111,7 +111,7 @@ public class TopologyLockingTest {
         TopologyManager.releaseReadLockForService("service4");
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAqcuireAndReleaseWriteLocksForServices1To2 () {
 
         TopologyManager.acquireWriteLockForService("service1");
@@ -121,7 +121,7 @@ public class TopologyLockingTest {
         TopologyManager.releaseWriteLockForService("service2");
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAqcuireAndReleaseWriteLocksForServices3To4 () {
 
         TopologyManager.acquireWriteLockForService("service3");
@@ -131,7 +131,7 @@ public class TopologyLockingTest {
         TopologyManager.releaseWriteLockForService("service4");
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAqcuireAndReleaseReadLocksForClustersOfService1 () {
 
         TopologyManager.acquireReadLockForCluster("service1", "service1.cluster1.domain");
@@ -141,7 +141,7 @@ public class TopologyLockingTest {
         TopologyManager.releaseReadLockForCluster("service1", "service1.cluster2.domain");
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAqcuireAndReleaseReadLocksForClustersOfService2 () {
 
         TopologyManager.acquireReadLockForCluster("service2", "service2.cluster1.domain");
@@ -151,7 +151,7 @@ public class TopologyLockingTest {
         TopologyManager.releaseReadLockForCluster("service2", "service2.cluster2.domain");
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAqcuireAndReleaseWriteLocksForClustersOfService1 () {
 
         TopologyManager.acquireWriteLockForCluster("service1", "service1.cluster1.domain");
@@ -161,7 +161,7 @@ public class TopologyLockingTest {
         TopologyManager.releaseWriteLockForCluster("service1", "service1.cluster2.domain");
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAqcuireAndReleaseWriteLocksForClustersOfService2 () {
 
         TopologyManager.acquireWriteLockForCluster("service2", "service2.cluster1.domain");
@@ -171,14 +171,14 @@ public class TopologyLockingTest {
         TopologyManager.releaseWriteLockForCluster("service2", "service2.cluster2.domain");
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAcquireAndReleaseReadLockForApp1 () {
 
         TopologyManager.acquireReadLockForApplication("app1");
         TopologyManager.releaseReadLockForApplication("app1");
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAcquireAndReleaseWriteLockForApp1 () {
 
         TopologyManager.acquireWriteLockForApplication("app1");
@@ -192,7 +192,7 @@ public class TopologyLockingTest {
         TopologyManager.releaseReadLockForApplication("app2");
     }
 
-    @Test
+    @Test(timeout=10000)
     public void testAcquireAndReleaseWriteLockForApp2 () {
 
         TopologyManager.acquireWriteLockForApplication("app2");


Mime
View raw message