camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1398198 - /camel/trunk/components/camel-netty/src/test/java/org/apache/camel/component/netty/BaseNettyTest.java
Date Mon, 15 Oct 2012 06:56:41 GMT
Author: davsclaus
Date: Mon Oct 15 06:56:40 2012
New Revision: 1398198

URL: http://svn.apache.org/viewvc?rev=1398198&view=rev
Log:
Polished

Modified:
    camel/trunk/components/camel-netty/src/test/java/org/apache/camel/component/netty/BaseNettyTest.java

Modified: camel/trunk/components/camel-netty/src/test/java/org/apache/camel/component/netty/BaseNettyTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-netty/src/test/java/org/apache/camel/component/netty/BaseNettyTest.java?rev=1398198&r1=1398197&r2=1398198&view=diff
==============================================================================
--- camel/trunk/components/camel-netty/src/test/java/org/apache/camel/component/netty/BaseNettyTest.java
(original)
+++ camel/trunk/components/camel-netty/src/test/java/org/apache/camel/component/netty/BaseNettyTest.java
Mon Oct 15 06:56:40 2012
@@ -47,8 +47,8 @@ public class BaseNettyTest extends Camel
             // read port number from file
             String s = IOConverter.toString(file, null);
             port = Integer.parseInt(s);
-            // use next port
-            port++;
+            // use next free port
+            port = AvailablePortFinder.getNextAvailable(port + 1);
         }
 
     }



Mime
View raw message