Author: stefanegli
Date: Wed Aug 26 08:59:28 2015
New Revision: 1697856

URL: http://svn.apache.org/r1697856
Log:
OAK-3292 : dump larger log output

Modified:
    
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentDiscoveryLiteServiceTest.java

Modified: 
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentDiscoveryLiteServiceTest.java
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentDiscoveryLiteServiceTest.java?rev=1697856&r1=1697855&r2=1697856&view=diff
==============================================================================
--- 
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentDiscoveryLiteServiceTest.java
 (original)
+++ 
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentDiscoveryLiteServiceTest.java
 Wed Aug 26 08:59:28 2015
@@ -559,13 +559,13 @@ public class DocumentDiscoveryLiteServic
     private List<SimplifiedInstance> allInstances = new 
LinkedList<SimplifiedInstance>();
 
     @Rule
-    public TestRule logDumper = new LogDumper();
+    public TestRule logDumper = new LogDumper(10000);
 
     @Rule
     public TestRule logLevelModifier = new LogLevelModifier()
                                             .newConsoleAppender("console")
-                                            .addAppenderFilter("console", 
"warn")
-                                            .addAppenderFilter("file", "warn")
+                                            .addAppenderFilter("console", 
"info")
+                                            .addAppenderFilter("file", "info")
                                             
.setLoggerLevel("org.apache.jackrabbit.oak", "trace");
 
     @Test
@@ -888,6 +888,7 @@ public class DocumentDiscoveryLiteServic
      */
     @Test
     public void testLargeStartStopFiesta() throws Throwable {
+        logger.info("testLargeStartStopFiesta: start");
         final List<SimplifiedInstance> instances = new 
LinkedList<SimplifiedInstance>();
         final Map<Integer, String> inactiveIds = new HashMap<Integer, 
String>();
         final Random random = new Random();
@@ -1001,6 +1002,7 @@ public class DocumentDiscoveryLiteServic
             SimplifiedInstance anInstance = it.next();
             activeIds.add(anInstance.ns.getClusterId());
         }
+        logger.info("checkFiestaState: checking state. expected active: 
"+activeIds+", inactive: "+inactiveIds);
         for (Iterator<SimplifiedInstance> it = instances.iterator(); 
it.hasNext();) {
             SimplifiedInstance anInstance = it.next();
 


Reply via email to