aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject [2/2] aries-rsa git commit: Fix itest by using different ports
Date Wed, 03 May 2017 10:19:37 GMT
Fix itest by using different ports


Project: http://git-wip-us.apache.org/repos/asf/aries-rsa/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-rsa/commit/5de5bf0b
Tree: http://git-wip-us.apache.org/repos/asf/aries-rsa/tree/5de5bf0b
Diff: http://git-wip-us.apache.org/repos/asf/aries-rsa/diff/5de5bf0b

Branch: refs/heads/master
Commit: 5de5bf0b6c73c86e6a168af4423b5dc2675065b5
Parents: 9380890
Author: Christian Schneider <chris@die-schneider.net>
Authored: Wed May 3 12:19:31 2017 +0200
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Wed May 3 12:19:31 2017 +0200

----------------------------------------------------------------------
 .../aries/rsa/itests/felix/fastbin/TestFastbinRoundTrip.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/5de5bf0b/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/fastbin/TestFastbinRoundTrip.java
----------------------------------------------------------------------
diff --git a/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/fastbin/TestFastbinRoundTrip.java
b/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/fastbin/TestFastbinRoundTrip.java
index 95bcae0..afd8cf9 100644
--- a/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/fastbin/TestFastbinRoundTrip.java
+++ b/itests/felix/src/test/java/org/apache/aries/rsa/itests/felix/fastbin/TestFastbinRoundTrip.java
@@ -35,6 +35,8 @@ import org.ops4j.pax.exam.Option;
 
 @RunWith(TwoContainerPaxExam.class)
 public class TestFastbinRoundTrip extends RsaTestBase {
+    private static final String FASTBIN_PORT_SERVER = "2544";
+    private static final String FASTBIN_PORT_CLIENT = "2545";
     @Inject
     EchoService echoService;
 
@@ -48,7 +50,7 @@ public class TestFastbinRoundTrip extends RsaTestBase {
          echoTcpService(), //
          configZKServer(), //
          configZKDiscovery(), //
-         configFastBinPort("2544"),
+         configFastBinPort(FASTBIN_PORT_SERVER),
         };
     }
 
@@ -61,7 +63,7 @@ public class TestFastbinRoundTrip extends RsaTestBase {
          rsaProviderFastBin(), //
          echoTcpConsumer(), //
          configZKDiscovery(), //
-         configFastBinPort("2545")
+         configFastBinPort(FASTBIN_PORT_CLIENT)
         };
     }
 


Mime
View raw message