You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jf...@apache.org on 2019/08/14 13:08:54 UTC

[plc4x] branch netty-serial-nio updated: Fixed Test.

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

jfeinauer pushed a commit to branch netty-serial-nio
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/netty-serial-nio by this push:
     new bbafb67  Fixed Test.
bbafb67 is described below

commit bbafb67210eefbc601271cbb4009ce2ab53018dc
Author: julian <j....@pragmaticminds.de>
AuthorDate: Wed Aug 14 15:08:44 2019 +0200

    Fixed Test.
---
 .../apache/plc4x/java/base/connection/SerialChannelFactoryTest.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plc4j/protocols/driver-bases/serial/src/test/java/org/apache/plc4x/java/base/connection/SerialChannelFactoryTest.java b/plc4j/protocols/driver-bases/serial/src/test/java/org/apache/plc4x/java/base/connection/SerialChannelFactoryTest.java
index 3bea440..6b873a2 100644
--- a/plc4j/protocols/driver-bases/serial/src/test/java/org/apache/plc4x/java/base/connection/SerialChannelFactoryTest.java
+++ b/plc4j/protocols/driver-bases/serial/src/test/java/org/apache/plc4x/java/base/connection/SerialChannelFactoryTest.java
@@ -29,6 +29,7 @@ import io.netty.channel.jsc.JSerialCommDeviceAddress;
 import io.netty.channel.socket.SocketChannel;
 import io.netty.handler.codec.ByteToMessageCodec;
 import org.apache.plc4x.java.api.exceptions.PlcConnectionException;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -60,7 +61,7 @@ public class SerialChannelFactoryTest {
     @Test
     public void createChannel() throws PlcConnectionException, InterruptedException, UnknownHostException {
         SerialChannelFactory asdf = new SerialChannelFactory("TEST-port1");
-        final TcpSocketChannelFactory factory = new TcpSocketChannelFactory(InetAddress.getLocalHost(), 5432);
+        // final TcpSocketChannelFactory factory = new TcpSocketChannelFactory(InetAddress.getLocalHost(), 5432);
         final Channel channel = asdf.createChannel(new ChannelInitializer<SerialChannel>() {
             @Override protected void initChannel(SerialChannel ch) throws Exception {
                 ch.pipeline().addLast(new DemoCodec());