Skip to content

Commit

Permalink
Fix itest by using different ports
Browse files Browse the repository at this point in the history
  • Loading branch information
cschneider committed May 3, 2017
1 parent 9380890 commit 5de5bf0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@

@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;

Expand All @@ -48,7 +50,7 @@ public static Option[] remoteConfig() throws IOException {
echoTcpService(), //
configZKServer(), //
configZKDiscovery(), //
configFastBinPort("2544"),
configFastBinPort(FASTBIN_PORT_SERVER),
};
}

Expand All @@ -61,7 +63,7 @@ public static Option[] configure() throws Exception {
rsaProviderFastBin(), //
echoTcpConsumer(), //
configZKDiscovery(), //
configFastBinPort("2545")
configFastBinPort(FASTBIN_PORT_CLIENT)
};
}

Expand Down

0 comments on commit 5de5bf0

Please # to comment.