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

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 2bfc3eec342 CAMEL-19523 - remove Thread.sleep in iec60870 test
2bfc3eec342 is described below

commit 2bfc3eec342c70bdf5c92dc9da5b24498824ab1f
Author: Aurélien Pupier <apup...@redhat.com>
AuthorDate: Fri Jun 14 11:52:50 2024 +0200

    CAMEL-19523 - remove Thread.sleep in iec60870 test
    
    this one seems not relevant. Played 20 times locally and no issue.
    
    Signed-off-by: Aurélien Pupier <apup...@redhat.com>
---
 .../test/java/org/apache/camel/component/iec60870/ConnectionTest.java  | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/components/camel-iec60870/src/test/java/org/apache/camel/component/iec60870/ConnectionTest.java
 
b/components/camel-iec60870/src/test/java/org/apache/camel/component/iec60870/ConnectionTest.java
index 913e1a54153..b6636e1fe0a 100644
--- 
a/components/camel-iec60870/src/test/java/org/apache/camel/component/iec60870/ConnectionTest.java
+++ 
b/components/camel-iec60870/src/test/java/org/apache/camel/component/iec60870/ConnectionTest.java
@@ -120,9 +120,6 @@ public class ConnectionTest extends CamelTestSupport {
 
     @Test
     public void testCommand1() throws InterruptedException {
-
-        Thread.sleep(1_000);
-
         this.producerClient1.sendBody(true);
 
         // expect - count

Reply via email to