Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaMaciaszek committed Oct 4, 2024
1 parent 32eec04 commit 572b10a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ public void start() {
SpringApplicationBuilder builder = new SpringApplicationBuilder(appClass);
builder.properties("spring.application.name=" + appClass.getName());
builder.properties("spring.jmx.enabled=false");
builder.properties(String.format("server.port=%d", availabeTcpPort()));
builder.properties(String.format("server.port=%d", availableTcpPort()));
builder.properties(props());

app = builder.build().run();
}
}

private int availabeTcpPort() {
private int availableTcpPort() {
return TestSocketUtils.findAvailableTcpPort();
}

Expand Down

0 comments on commit 572b10a

Please sign in to comment.