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
  • Loading branch information
sujithvm authored Jan 29, 2021
1 parent c5f4f52 commit 7db5afe
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 7db5afe

Please sign in to comment.