diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramMulticastTest.java b/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramMulticastTest.java index 30c70aa019..ab5861ac9f 100644 --- a/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramMulticastTest.java +++ b/testsuite/src/test/java/io/netty/testsuite/transport/socket/nio/oio/NioOioDatagramMulticastTest.java @@ -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); }