logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r928152 - in /logging/log4j/trunk: src/changes/changes.xml tests/src/java/org/apache/log4j/net/TelnetAppenderTest.java
Date Sat, 27 Mar 2010 05:54:18 GMT
Author: carnold
Date: Sat Mar 27 05:54:18 2010
New Revision: 928152

URL: http://svn.apache.org/viewvc?rev=928152&view=rev
Log:
Bug 49005: TelnetAppenderTest.testIt fails on gcj

Modified:
    logging/log4j/trunk/src/changes/changes.xml
    logging/log4j/trunk/tests/src/java/org/apache/log4j/net/TelnetAppenderTest.java

Modified: logging/log4j/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/changes/changes.xml?rev=928152&r1=928151&r2=928152&view=diff
==============================================================================
--- logging/log4j/trunk/src/changes/changes.xml (original)
+++ logging/log4j/trunk/src/changes/changes.xml Sat Mar 27 05:54:18 2010
@@ -100,6 +100,7 @@
        <action action="fix" issue="48953">Unused imports and variables in test code
cause gcj compile warnings.</action>
        <action action="fix" issue="49003">SocketServerTestCase.test8 fails on Apache
Harmony.</action>
        <action action="fix" issue="49004">TestLogMF.testDebugDate fails on gcj.</action>
+       <action action="fix" issue="49005">TelnetAppenderTest.testIt fails on gcj.</action>
     </release>
 
   

Modified: logging/log4j/trunk/tests/src/java/org/apache/log4j/net/TelnetAppenderTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/tests/src/java/org/apache/log4j/net/TelnetAppenderTest.java?rev=928152&r1=928151&r2=928152&view=diff
==============================================================================
--- logging/log4j/trunk/tests/src/java/org/apache/log4j/net/TelnetAppenderTest.java (original)
+++ logging/log4j/trunk/tests/src/java/org/apache/log4j/net/TelnetAppenderTest.java Sat Mar
27 05:54:18 2010
@@ -69,7 +69,9 @@ public class TelnetAppenderTest extends 
     t.join();
     String s = bo.toString();
     assertTrue(s.endsWith("INFO - hi"));
-    assertEquals(oldActive, Thread.activeCount());
+    if(System.getProperty("java.vendor").indexOf("Free") == -1) {
+        assertEquals(oldActive, Thread.activeCount());
+    }
   }
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message