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

chrisdutz 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 7f2f3aa781 fix: Fixed the test as it seems the API changed slightly 
from 0.0.2-SNAPSHOT to 0.0.2
7f2f3aa781 is described below

commit 7f2f3aa781c253552f9dbd6e5049fe90d78dc7ac
Author: Christofer Dutz <[email protected]>
AuthorDate: Fri Jun 12 15:13:44 2026 +0200

    fix: Fixed the test as it seems the API changed slightly from 
0.0.2-SNAPSHOT to 0.0.2
---
 .../java/org/apache/plc4x/java/firmata/FirmataVirtualAvrIT.java    | 7 ++++---
 plc4j/drivers/profinet/pom.xml                                     | 4 ----
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git 
a/plc4j/drivers/firmata/src/test/java/org/apache/plc4x/java/firmata/FirmataVirtualAvrIT.java
 
b/plc4j/drivers/firmata/src/test/java/org/apache/plc4x/java/firmata/FirmataVirtualAvrIT.java
index 78ea3b9bf0..414c5acf49 100644
--- 
a/plc4j/drivers/firmata/src/test/java/org/apache/plc4x/java/firmata/FirmataVirtualAvrIT.java
+++ 
b/plc4j/drivers/firmata/src/test/java/org/apache/plc4x/java/firmata/FirmataVirtualAvrIT.java
@@ -18,6 +18,7 @@
  */
 package org.apache.plc4x.java.firmata;
 
+import 
com.github.pfichtner.testcontainers.virtualavr.DefaultVirtualAvrConnection;
 import com.github.pfichtner.testcontainers.virtualavr.VirtualAvrConnection;
 import 
com.github.pfichtner.testcontainers.virtualavr.VirtualAvrConnection.PinReportMode;
 import org.apache.plc4x.java.DefaultPlcDriverManager;
@@ -160,13 +161,13 @@ public class FirmataVirtualAvrIT {
         // assumes the first mapped port is the WS port, which isn't true here.
         URI wsUri = URI.create("ws://" + virtualAvr.getHost() + ":"
             + virtualAvr.getMappedPort(CONTAINER_WEBSOCKET_PORT));
-        virtualAvrConnection = new VirtualAvrConnection(wsUri);
+        virtualAvrConnection = new DefaultVirtualAvrConnection(wsUri);
         long wsDeadline = System.currentTimeMillis() + 10_000L;
-        while (!virtualAvrConnection.isOpen() && System.currentTimeMillis() < 
wsDeadline) {
+        while (!virtualAvrConnection.isConnected() && 
System.currentTimeMillis() < wsDeadline) {
             //noinspection BusyWait
             Thread.sleep(100);
         }
-        if (!virtualAvrConnection.isOpen()) {
+        if (!virtualAvrConnection.isConnected()) {
             throw new AssertionError("Could not connect to virtualavr 
WebSocket at " + wsUri);
         }
         return connection;
diff --git a/plc4j/drivers/profinet/pom.xml b/plc4j/drivers/profinet/pom.xml
index 86689d27b2..b5158019ee 100644
--- a/plc4j/drivers/profinet/pom.xml
+++ b/plc4j/drivers/profinet/pom.xml
@@ -200,10 +200,6 @@
       <groupId>org.pcap4j</groupId>
       <artifactId>pcap4j-core</artifactId>
     </dependency>
-    <dependency>
-      <groupId>org.pcap4j</groupId>
-      <artifactId>pcap4j-packetfactory-static</artifactId>
-    </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.dataformat</groupId>
       <artifactId>jackson-dataformat-xml</artifactId>

Reply via email to