Make sure multicast tests pass on all os'es
This commit is contained in:
parent
32f61ed01a
commit
f3456ce098
@ -3,6 +3,7 @@ package io.netty.testsuite.transport.socket.nio.oio;
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
import io.netty.channel.socket.DatagramChannelFactory;
|
||||
import io.netty.channel.socket.nio.NioDatagramChannel;
|
||||
import io.netty.channel.socket.nio.NioDatagramChannelFactory;
|
||||
import io.netty.channel.socket.oio.OioDatagramChannelFactory;
|
||||
import io.netty.testsuite.transport.socket.AbstractDatagramMulticastTest;
|
||||
@ -16,7 +17,7 @@ public class NioOioDatagramMulticastTest extends AbstractDatagramMulticastTest {
|
||||
|
||||
@Override
|
||||
protected DatagramChannelFactory newClientSocketChannelFactory(Executor executor) {
|
||||
return new NioDatagramChannelFactory(executor);
|
||||
return new NioDatagramChannelFactory(executor, NioDatagramChannel.ProtocolFamily.INET);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user