Skip to content

Commit d69c92e

Browse files
committed
Fix close call
1 parent f247454 commit d69c92e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/src/test/java/org/elasticsearch/transport/nio/SimpleNioTransportTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected MockTransportService build(
109109
@Override
110110
protected void close(NioChannel nioChannel) {
111111
try {
112-
nioChannel.getCloseFuture().awaitClose();
112+
nioChannel.closeAsync().awaitClose();
113113
} catch (IOException e) {
114114
throw new UncheckedIOException(e);
115115
}

0 commit comments

Comments
 (0)