Skip to content

Commit

Permalink
Try using another port 8088 for running the webhook test (#999)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7db5afe)
  • Loading branch information
sujithvm authored and debjanibnrj committed Feb 4, 2021
1 parent cb88141 commit a446763
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -444,11 +444,11 @@ public void httpsTest() throws Exception {

@Test
public void httpsTestPemDefault() throws Exception {

final int port = 8088;
TestHttpHandler handler = new TestHttpHandler();

server = ServerBootstrap.bootstrap()
.setListenerPort(8084)
.setListenerPort(port)
.setServerInfo("Test/1.1")
.setSslContext(createSSLContext())
.registerHandler("*", handler)
Expand All @@ -458,7 +458,7 @@ public void httpsTestPemDefault() throws Exception {
AuditMessage msg = MockAuditMessageFactory.validAuditMessage();
LoggingSink fallback = new LoggingSink("test", Settings.EMPTY, null, null);

String url = "https://localhost:8084/endpoint";
String url = "https://localhost:" + port + "/endpoint";

// test default with filepath
handler.reset();
Expand Down

0 comments on commit a446763

Please sign in to comment.