jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r947989 - /jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/webdav/simple/LitmusTest.java
Date Tue, 25 May 2010 09:54:07 GMT
Author: jukka
Date: Tue May 25 09:54:07 2010
New Revision: 947989

URL: http://svn.apache.org/viewvc?rev=947989&view=rev
Log:
JCR-2636: Litmus prophighunicode test failure on JRE 1.5

Restore the random port allocation by default, but allow explicit setting of the port number
for debugging purposes.

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/webdav/simple/LitmusTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/webdav/simple/LitmusTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/webdav/simple/LitmusTest.java?rev=947989&r1=947988&r2=947989&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/webdav/simple/LitmusTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/webdav/simple/LitmusTest.java
Tue May 25 09:54:07 2010
@@ -52,7 +52,7 @@ public class LitmusTest extends TestCase
             try {
                 SocketConnector connector = new SocketConnector();
                 connector.setHost("localhost");
-                connector.setPort(12345);
+                connector.setPort(Integer.getInteger("litmus.port", 0));
 
                 Server server = new Server();
                 server.addConnector(connector);



Mime
View raw message