felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1693607 - /felix/trunk/framework/src/test/java/org/apache/felix/framework/ServiceRegistryTest.java
Date Fri, 31 Jul 2015 14:21:35 GMT
Author: davidb
Date: Fri Jul 31 14:21:34 2015
New Revision: 1693607

URL: http://svn.apache.org/r1693607
Log:
FELIX-4977 Service Registry Concurrency - add diagnostic counter to test.

Modified:
    felix/trunk/framework/src/test/java/org/apache/felix/framework/ServiceRegistryTest.java

Modified: felix/trunk/framework/src/test/java/org/apache/felix/framework/ServiceRegistryTest.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/test/java/org/apache/felix/framework/ServiceRegistryTest.java?rev=1693607&r1=1693606&r2=1693607&view=diff
==============================================================================
--- felix/trunk/framework/src/test/java/org/apache/felix/framework/ServiceRegistryTest.java
(original)
+++ felix/trunk/framework/src/test/java/org/apache/felix/framework/ServiceRegistryTest.java
Fri Jul 31 14:21:34 2015
@@ -1147,7 +1147,13 @@ public class ServiceRegistryTest extends
 
         latch.await();
 
-        assertTrue("" + exceptions.size(), exceptions.isEmpty());
+        List<String> counterValues = new ArrayList<String>();
+        for (Exception ex : exceptions)
+        {
+            counterValues.add(ex.getMessage());
+        }
+
+        assertTrue("" + counterValues, exceptions.isEmpty());
     }
 
     public void testUsageCountCleanup() throws Exception



Mime
View raw message