openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1799009 - /openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/events/async/ObserversAsyncTest.java
Date Sat, 17 Jun 2017 10:14:25 GMT
Author: struberg
Date: Sat Jun 17 10:14:25 2017
New Revision: 1799009

URL: http://svn.apache.org/viewvc?rev=1799009&view=rev
Log:
OWB-1188 reduce duration of the async test

Modified:
    openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/events/async/ObserversAsyncTest.java

Modified: openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/events/async/ObserversAsyncTest.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/events/async/ObserversAsyncTest.java?rev=1799009&r1=1799008&r2=1799009&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/events/async/ObserversAsyncTest.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/events/async/ObserversAsyncTest.java
Sat Jun 17 10:14:25 2017
@@ -50,7 +50,7 @@ public class ObserversAsyncTest extends
     @Test
     public void testAsyncEventExceptionHandling_handle() throws ExecutionException, InterruptedException
     {
-        final int count = 10 + ForkJoinPool.getCommonPoolParallelism() * 5;
+        final int count = 5 + ForkJoinPool.getCommonPoolParallelism() * 5;
 
         final VisitorCollectorEvent event = new VisitorCollectorEvent();
 
@@ -164,7 +164,7 @@ public class ObserversAsyncTest extends
                     {
                         if (i % 2 == 0 && (i < 30 || i > 70))
                         {
-                            sleep(500);
+                            sleep(200);
                         }
 
                         final String name = String.format("%s_%03d", "Observer", i);



Mime
View raw message