Skip to content

Commit

Permalink
use static port
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielLiu1123 committed Dec 2, 2024
1 parent 1edb9fa commit 1aceedb
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ void useAutoRegisteredBean_whenNoManualRegisteredBeanAndUsingWrongBaseUrl_thenTh

@Test
void useAutoRegisteredBean_whenNoManualRegisteredBeanAndUsingCorrectBaseUrl_thenGotCorrectResult() {
var port = findAvailableTcpPort();
try (var ctx = new SpringApplicationBuilder(CfgWithoutHttpClientConfiguration.class)
.web(WebApplicationType.SERVLET)
.properties("server.port=" + port)
Expand Down

0 comments on commit 1aceedb

Please sign in to comment.