[logback-dev] svn commit: r1950 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic

noreply.ceki at qos.ch noreply.ceki at qos.ch
Thu Nov 6 19:13:35 CET 2008


Author: ceki
Date: Thu Nov  6 19:13:35 2008
New Revision: 1950

Modified:
   logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/ScenarioBasedLoggerContextTest.java

Log:
A scenario with 500000 loggers causes an out of memory error.


Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/ScenarioBasedLoggerContextTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/ScenarioBasedLoggerContextTest.java	(original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/ScenarioBasedLoggerContextTest.java	Thu Nov  6 19:13:35 2008
@@ -15,6 +15,7 @@
 import java.util.List;
 import java.util.Map;
 
+import org.junit.Ignore;
 import org.junit.Test;
 
 import ch.qos.logback.classic.control.ControlLogger;
@@ -46,8 +47,9 @@
   }
 
   @Test
+  @Ignore
   public void testLengthLong() {
-    doScenarioedTest(500*1000);
+    doScenarioedTest(100*1000);
   }
 
   private void doScenarioedTest(int len) {


More information about the logback-dev mailing list