From 572b10a5bdf2af287a350390e0b2069e64511834 Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Fri, 4 Oct 2024 17:16:12 +0200 Subject: [PATCH] Fix typo. --- .../org/springframework/cloud/netflix/eureka/AppRunner.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-netflix-eureka-client-tls-tests/src/test/java/org/springframework/cloud/netflix/eureka/AppRunner.java b/spring-cloud-netflix-eureka-client-tls-tests/src/test/java/org/springframework/cloud/netflix/eureka/AppRunner.java index 2c70d09bf6..ef3adbde50 100644 --- a/spring-cloud-netflix-eureka-client-tls-tests/src/test/java/org/springframework/cloud/netflix/eureka/AppRunner.java +++ b/spring-cloud-netflix-eureka-client-tls-tests/src/test/java/org/springframework/cloud/netflix/eureka/AppRunner.java @@ -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(); }