hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r478352 - in /lucene/hadoop/trunk: CHANGES.txt src/test/org/apache/hadoop/ipc/TestIPC.java
Date Wed, 22 Nov 2006 22:39:20 GMT
Author: cutting
Date: Wed Nov 22 14:39:20 2006
New Revision: 478352

URL: http://svn.apache.org/viewvc?view=rev&rev=478352
Log:
HADOOP-739.  Fix TestIPC to use a different port number, making it more reliable.  Contributed
by Nigel.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestIPC.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=478352&r1=478351&r2=478352
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Wed Nov 22 14:39:20 2006
@@ -125,6 +125,9 @@
 36. HADOOP-736.  Roll back to Jetty 5.1.4, due to performance problems
     with Jetty 6.0.1.
 
+37. HADOOP-739.  Fix TestIPC to use different port number, making it
+    more reliable.  (Nigel Daley via cutting)
+
 
 Release 0.8.0 - 2006-11-03
 

Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestIPC.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestIPC.java?view=diff&rev=478352&r1=478351&r2=478352
==============================================================================
--- lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestIPC.java (original)
+++ lucene/hadoop/trunk/src/test/org/apache/hadoop/ipc/TestIPC.java Wed Nov 22 14:39:20 2006
@@ -170,13 +170,13 @@
     throws Exception {
     Server[] servers = new Server[serverCount];
     for (int i = 0; i < serverCount; i++) {
-      servers[i] = new TestServer(ADDRESS, PORT+i, handlerCount, handlerSleep);
+      servers[i] = new TestServer(ADDRESS, PORT+i+1, handlerCount, handlerSleep);
       servers[i].start();
     }
 
     InetSocketAddress[] addresses = new InetSocketAddress[addressCount];
     for (int i = 0; i < addressCount; i++) {
-      addresses[i] = new InetSocketAddress(PORT+(i%serverCount));
+      addresses[i] = new InetSocketAddress(PORT+1+(i%serverCount));
     }
 
     Client[] clients = new Client[clientCount];



Mime
View raw message