Author: carnold
Date: Wed Jun  6 19:54:43 2007
New Revision: 545028

URL: http://svn.apache.org/viewvc?view=rev&rev=545028
Log:
Bug 42611: ERFATestCase fails on some JDK's

Modified:
    logging/log4j/branches/v1_2-branch/src/changes/changes.xml
    
logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/varia/ERFATestCase.java

Modified: logging/log4j/branches/v1_2-branch/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/src/changes/changes.xml?view=diff&rev=545028&r1=545027&r2=545028
==============================================================================
--- logging/log4j/branches/v1_2-branch/src/changes/changes.xml (original)
+++ logging/log4j/branches/v1_2-branch/src/changes/changes.xml Wed Jun  6 
19:54:43 2007
@@ -22,6 +22,7 @@
   <body>
   
     <release version="1.2.15" date="2007-06-05" description="SyslogAppender 
enhancements, NTEventLogAppender and Maven build.">
+       <action action="fix" issue="42611">ERFATestCase fails on some 
JDK's.</action>
        <action action="fix" issue="42585">SocketNode can leak Sockets.</action>
           <action action="fix" issue="37930">Migrate to Maven based build and 
documentation.</action>
           <action action="fix" issue="40604">Prepare Maven release 
bundles.</action>
@@ -1754,4 +1755,4 @@
 <action>Initial availability on alphaWorks.  Refer to the FAQ for the lineage 
of the package.</action>
 </release>
   </body>
-</document>
\ No newline at end of file
+</document>

Modified: 
logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/varia/ERFATestCase.java
URL: 
http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/varia/ERFATestCase.java?view=diff&rev=545028&r1=545027&r2=545028
==============================================================================
--- 
logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/varia/ERFATestCase.java
 (original)
+++ 
logging/log4j/branches/v1_2-branch/tests/src/java/org/apache/log4j/varia/ERFATestCase.java
 Wed Jun  6 19:54:43 2007
@@ -27,6 +27,7 @@
 import java.io.File;
 import java.io.IOException;
 import java.net.Socket;
+import java.net.InetAddress;
 
 /**
  *  Test of ExternallyRolledFileAppender.
@@ -100,6 +101,10 @@
         erfa.activateOptions();
       } catch(SecurityException ex) {
           return;
+      }
+      try {
+         Thread.sleep(100);
+      } catch(InterruptedException ex) {
       }
       root.addAppender(erfa);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to