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 2023/06/15 14:37:41 UTC

[plc4x] 03/04: bug(plc4j/opcua): Fixed a timeout in one of the tests.

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

cdutz pushed a commit to branch chore/profinet-phase-3
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit a09da86db50dfab19209e5cafaf6914820a413db
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Thu Jun 15 16:37:01 2023 +0200

    bug(plc4j/opcua): Fixed a timeout in one of the tests.
---
 .../apache/plc4x/java/opcua/protocol/OpcuaSubscriptionHandleTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/protocol/OpcuaSubscriptionHandleTest.java b/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/protocol/OpcuaSubscriptionHandleTest.java
index a63f2c9fa0..0f0ca5af41 100644
--- a/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/protocol/OpcuaSubscriptionHandleTest.java
+++ b/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/protocol/OpcuaSubscriptionHandleTest.java
@@ -187,7 +187,7 @@ public class OpcuaSubscriptionHandleTest {
         PlcSubscriptionRequest request = builder.build();
 
         // Get result of creating subscription
-        PlcSubscriptionResponse response = request.execute().get(10000, TimeUnit.MILLISECONDS);
+        PlcSubscriptionResponse response = request.execute().get(1000, TimeUnit.MILLISECONDS);
         final OpcuaSubscriptionHandle subscriptionHandle = (OpcuaSubscriptionHandle) response.getSubscriptionHandle(tag);
 
         // Create handler for returned value