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

noreply.ceki at qos.ch noreply.ceki at qos.ch
Wed Jul 15 15:19:15 CEST 2009


Author: ceki
Date: Wed Jul 15 15:19:15 2009
New Revision: 2357

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

Log:
- cosmetic changes

Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeTest.java	(original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeTest.java	Wed Jul 15 15:19:15 2009
@@ -72,7 +72,8 @@
     // the number of effective resets must be equal or less than expectedRreconfigurations
     assertTrue(effectiveResets <=  expectedRreconfigurations);
     // however, there should be some effective resets
-    assertTrue((effectiveResets * 1.1) >= (expectedRreconfigurations * 1.0));
+    String failMsg = "effective="+effectiveResets+", expected="+expectedRreconfigurations;
+    assertTrue(failMsg, (effectiveResets * 1.1) >= (expectedRreconfigurations * 1.0));
   }
 
   ReconfigureOnChangeFilter initROCF() throws MalformedURLException {


More information about the logback-dev mailing list