Skip to content

Commit d8bf7d2

Browse files
committed
Fix compile error
PRs #65601 and #65526 conflict semantically, but not syntactically, so this was not detected at merge time.
1 parent 9e00530 commit d8bf7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/elasticsearch/transport/TransportServiceHandshakeTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public void testRejectsMismatchedBuildHash() {
235235
handleB.transportInterceptor.setModifyBuildHash(true);
236236
TransportSerializationException ex = expectThrows(TransportSerializationException.class, () -> {
237237
try (Transport.Connection connection = handleA.transportService.openConnection(discoveryNode, TestProfiles.LIGHT_PROFILE)) {
238-
PlainActionFuture.get(fut -> handleA.transportService.handshake(connection, timeout, ActionListener.map(fut, x -> null)));
238+
PlainActionFuture.get(fut -> handleA.transportService.handshake(connection, timeout, fut.map(x -> null)));
239239
}
240240
});
241241
assertThat(

0 commit comments

Comments
 (0)