You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/04/09 17:03:41 UTC

[plc4x] branch develop updated: - Added the RequirePcap annotation to the RawSocketChannelTest

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new fd3e9d5  - Added the RequirePcap annotation to the RawSocketChannelTest
fd3e9d5 is described below

commit fd3e9d5006ea1253088d08f49d8435506ccd2a60
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Thu Apr 9 19:03:33 2020 +0200

    - Added the RequirePcap annotation to the RawSocketChannelTest
---
 .../apache/plc4x/java/utils/rawsockets/netty/RawSocketChannelTest.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plc4j/utils/raw-sockets/src/test/java/org/apache/plc4x/java/utils/rawsockets/netty/RawSocketChannelTest.java b/plc4j/utils/raw-sockets/src/test/java/org/apache/plc4x/java/utils/rawsockets/netty/RawSocketChannelTest.java
index 3f8d822..2ade3c9 100644
--- a/plc4j/utils/raw-sockets/src/test/java/org/apache/plc4x/java/utils/rawsockets/netty/RawSocketChannelTest.java
+++ b/plc4j/utils/raw-sockets/src/test/java/org/apache/plc4x/java/utils/rawsockets/netty/RawSocketChannelTest.java
@@ -26,6 +26,7 @@ import io.netty.buffer.Unpooled;
 import io.netty.channel.*;
 import io.netty.channel.oio.OioEventLoopGroup;
 import org.apache.plc4x.java.utils.rawsockets.netty.address.RawSocketAddress;
+import org.apache.plc4x.test.RequirePcap;
 import org.junit.jupiter.api.Test;
 import org.pcap4j.core.PcapNetworkInterface;
 import org.pcap4j.core.Pcaps;
@@ -45,6 +46,7 @@ public class RawSocketChannelTest {
     private static final Logger logger = LoggerFactory.getLogger(RawSocketChannelTest.class);
 
     @Test
+    @RequirePcap
     public void doConnect() throws Exception {
         Channel channel = null;
         final EventLoopGroup workerGroup = new OioEventLoopGroup();