Skip to content

Commit

Permalink
Fix flight server integ test on unix machine
Browse files Browse the repository at this point in the history
Signed-off-by: Rishabh Maurya <[email protected]>
  • Loading branch information
rishabhmaurya committed Jan 24, 2025
1 parent 8cc5556 commit 2db7f85
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@ static EventLoopGroup createELG(String name, int eventLoopThreads) {
}

static Class<? extends Channel> serverChannelType() {
return Epoll.isAvailable() ? EpollSocketChannel.class : NioServerSocketChannel.class;
return Epoll.isAvailable() ? EpollServerSocketChannel.class : NioServerSocketChannel.class;
}

static Class<? extends Channel> clientChannelType() {
return Epoll.isAvailable() ? EpollServerSocketChannel.class : NioSocketChannel.class;
return Epoll.isAvailable() ? EpollSocketChannel.class : NioSocketChannel.class;
}

private static class Netty4Configs {
Expand Down

0 comments on commit 2db7f85

Please sign in to comment.