From e9e6c925e814def50d0f167803de25d56e662d63 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Mon, 7 Oct 2019 20:30:20 +0900 Subject: [PATCH] Remove a duplicate assertion See gh-18524 --- .../boot/rsocket/netty/NettyRSocketServerFactoryTests.java | 1 - 1 file changed, 1 deletion(-) 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