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 2018/02/24 16:14:34 UTC
[incubator-plc4x] branch master updated: Disabled the RawSocketTest
as we need to find a way to run tests in Docker
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
The following commit(s) were added to refs/heads/master by this push:
new 93d03b4 Disabled the RawSocketTest as we need to find a way to run tests in Docker
93d03b4 is described below
commit 93d03b4dfad30af13608ceccd6a4fc559b352e72
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sat Feb 24 17:14:29 2018 +0100
Disabled the RawSocketTest as we need to find a way to run tests in Docker
---
.../test/java/org/apache/plc4x/java/utils/rawsockets/RawSocketTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/plc4j/utils/raw-sockets/src/test/java/org/apache/plc4x/java/utils/rawsockets/RawSocketTest.java b/plc4j/utils/raw-sockets/src/test/java/org/apache/plc4x/java/utils/rawsockets/RawSocketTest.java
index bdee6ca..b15f0d2 100644
--- a/plc4j/utils/raw-sockets/src/test/java/org/apache/plc4x/java/utils/rawsockets/RawSocketTest.java
+++ b/plc4j/utils/raw-sockets/src/test/java/org/apache/plc4x/java/utils/rawsockets/RawSocketTest.java
@@ -15,6 +15,7 @@
*/
package org.apache.plc4x.java.utils.rawsockets;
+import org.junit.Ignore;
import org.junit.Test;
import org.pcap4j.core.PcapAddress;
import org.pcap4j.core.PcapNetworkInterface;
@@ -33,6 +34,7 @@ import static org.junit.Assume.assumeThat;
public class RawSocketTest {
@Test
+ @Ignore("Need to make tests run in Docker container first as this test requires libpcap or the entrie application to be run as 'root'")
public void testPingPacket() throws Exception {
// TODO: cdutz: jenkins won't allow access on the inet device. Maybe try to fix this on a branch.
assumeThat(System.getenv("PLC4X_BUILD_ON_JENKINS"), is(not(equalToIgnoringCase("true"))));
--
To stop receiving notification emails like this one, please contact
cdutz@apache.org.