Fix compile error introduced by incorrect cherry-pick of 7a613c2131
This commit is contained in:
parent
d870199c4e
commit
a4d1e97987
@ -24,9 +24,15 @@ public class EpollDatagramChannelConfigTest {
|
||||
@Test
|
||||
public void testIpFreeBind() throws Exception {
|
||||
Epoll.ensureAvailability();
|
||||
EpollDatagramChannel channel = new EpollDatagramChannel();
|
||||
|
||||
EpollEventLoopGroup group = new EpollEventLoopGroup(1);
|
||||
try {
|
||||
EpollDatagramChannel channel = new EpollDatagramChannel(group.next());
|
||||
assertTrue(channel.config().setOption(EpollChannelOption.IP_FREEBIND, true));
|
||||
assertTrue(channel.config().getOption(EpollChannelOption.IP_FREEBIND));
|
||||
channel.fd().close();
|
||||
} finally {
|
||||
group.shutdownGracefully();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user