This is an automated email from the ASF dual-hosted git repository.
sruehl 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 17219ab23a test(plc4j/opcua): Re-enable a disabled test (#1159)
17219ab23a is described below
commit 17219ab23aea5a02c4866b7993547458fe2f8c80
Author: Rajmund Takács <[email protected]>
AuthorDate: Wed Oct 18 15:54:04 2023 +0200
test(plc4j/opcua): Re-enable a disabled test (#1159)
* plc4j-driver-opcua: Re-enable a disabled test
After running it 600 times in a row with success, it does not seem to be
flaky anymore.
* chore(plc4j/opcua): add note on flaky test
---------
Co-authored-by: Sebastian Rühl <[email protected]>
---
.../test/java/org/apache/plc4x/java/opcua/OpcuaPlcDriverTest.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
a/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/OpcuaPlcDriverTest.java
b/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/OpcuaPlcDriverTest.java
index 6f729d2dd8..60fd30e248 100644
---
a/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/OpcuaPlcDriverTest.java
+++
b/plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/OpcuaPlcDriverTest.java
@@ -473,10 +473,9 @@ public class OpcuaPlcDriverTest {
}
/*
- Test added to test the syncronized Trnasactionhandler.
- The test originally failed one out of every 5 or so.
+ Test added to test the synchronized TransactionHandler. (This was
disabled before being enabled again so it might be a candidate for those tests
not running properly on different platforms)
*/
- //@Test
+ @Test
public void multipleThreads() throws Exception {
class ReadWorker extends Thread {
private final PlcConnection connection;