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

noreply.ceki at qos.ch noreply.ceki at qos.ch
Tue Sep 23 21:00:09 CEST 2008


Author: ceki
Date: Tue Sep 23 21:00:08 2008
New Revision: 1816

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

Log:
Increase slack factor to 8 for Sun's JDK 1.6. For some reason, slack factor of 6 for JDK 1.5 was insufficient.

Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/BasicCPDCTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/BasicCPDCTest.java	(original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/BasicCPDCTest.java	Tue Sep 23 21:00:08 2008
@@ -108,7 +108,7 @@
     double d1 = loop(len, true);
     System.out.println("with    packaging info " + d1 + " microseconds");
 
-    int slackFactor = 6;  
+    int slackFactor = 8;  
     if (!SystemInfo.getJavaVendor().contains("Sun")) {
       // be more lenient with other JDKs
       slackFactor = 10;


More information about the logback-dev mailing list