diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java index 48f02414ed..efa426735a 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java @@ -96,7 +96,6 @@ class NettyRSocketServerFactoryTests { String response = this.requester.route("test").data(payload).retrieveMono(String.class).block(TIMEOUT); assertThat(this.server.address().getPort()).isEqualTo(specificPort); assertThat(response).isEqualTo(payload); - assertThat(this.server.address().getPort()).isEqualTo(specificPort); } @Test