Thanks! Actually, this reuse of ports is one reason I couldn't run the core tests in parallel, so having a solution for that would bring us a step closer to a faster build.
Sent from my iPhone > On 2014/05/22, at 2:00, [email protected] wrote: > > Author: mattsicker > Date: Wed May 21 17:00:08 2014 > New Revision: 1596620 > > URL: http://svn.apache.org/r1596620 > Log: > Disable broken test for now. > > Need to add some support for finding an available port number. I > have something from Camel that would be useful. > > Modified: > > logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/net/SocketMessageLossTest.java > > Modified: > logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/net/SocketMessageLossTest.java > URL: > http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/net/SocketMessageLossTest.java?rev=1596620&r1=1596619&r2=1596620&view=diff > ============================================================================== > --- > logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/net/SocketMessageLossTest.java > (original) > +++ > logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/net/SocketMessageLossTest.java > Wed May 21 17:00:08 2014 > @@ -31,10 +31,12 @@ import org.apache.logging.log4j.Logger; > import org.apache.logging.log4j.core.appender.AppenderLoggingException; > import org.apache.logging.log4j.junit.InitialLoggerContext; > import org.junit.ClassRule; > +import org.junit.Ignore; > import org.junit.Test; > > import static org.junit.Assert.*; > > +@Ignore("Currently needs better port choosing support") > public class SocketMessageLossTest { > private static final int SOCKET_PORT = 5514; > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
