diff --git a/spring-integration-ip/src/test/java/org/springframework/integration/ip/udp/UdpChannelAdapterTests.java b/spring-integration-ip/src/test/java/org/springframework/integration/ip/udp/UdpChannelAdapterTests.java index fd2c6ae3dc..c3b9285ea8 100644 --- a/spring-integration-ip/src/test/java/org/springframework/integration/ip/udp/UdpChannelAdapterTests.java +++ b/spring-integration-ip/src/test/java/org/springframework/integration/ip/udp/UdpChannelAdapterTests.java @@ -6,12 +6,10 @@ import static org.junit.Assert.assertNotNull; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.Inet4Address; -import java.net.InetAddress; import java.net.InetSocketAddress; -import java.net.NetworkInterface; -import java.util.Enumeration; import org.apache.commons.logging.LogFactory; +import org.junit.Ignore; import org.junit.Test; import org.springframework.integration.channel.QueueChannel; import org.springframework.integration.core.Message; @@ -32,7 +30,7 @@ public class UdpChannelAdapterTests { ThreadPoolTaskScheduler taskScheduler = new ThreadPoolTaskScheduler(); taskScheduler.initialize(); adapter.setTaskScheduler(taskScheduler); - SocketUtils.setLocalNicIfPossible(adapter); +// SocketUtils.setLocalNicIfPossible(adapter); adapter.start(); SocketUtils.waitListening(adapter); @@ -55,7 +53,7 @@ public class UdpChannelAdapterTests { ThreadPoolTaskScheduler taskScheduler = new ThreadPoolTaskScheduler(); taskScheduler.initialize(); adapter.setTaskScheduler(taskScheduler); - SocketUtils.setLocalNicIfPossible(adapter); +// SocketUtils.setLocalNicIfPossible(adapter); adapter.start(); SocketUtils.waitListening(adapter); @@ -71,7 +69,7 @@ public class UdpChannelAdapterTests { } @SuppressWarnings("unchecked") - @Test + @Test @Ignore public void testMulticastReceiver() throws Exception { QueueChannel channel = new QueueChannel(2); int port = SocketUtils.findAvailableUdpSocket(); @@ -101,7 +99,7 @@ public class UdpChannelAdapterTests { } @SuppressWarnings("unchecked") - @Test + @Test @Ignore public void testMulticastSender() throws Exception { QueueChannel channel = new QueueChannel(2); int port = SocketUtils.findAvailableUdpSocket();