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

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


The following commit(s) were added to refs/heads/main by this push:
     new a774ff8120 NIFI-13400 ensure container has time to startup before 
interacting with smb
a774ff8120 is described below

commit a774ff8120a9c3aca63cfc977711a38219087d1c
Author: Joseph Witt <[email protected]>
AuthorDate: Wed Jun 19 09:19:25 2024 -0700

    NIFI-13400 ensure container has time to startup before interacting with smb
    
    This closes #8982.
    
    Signed-off-by: Peter Turcsanyi <[email protected]>
---
 .../src/test/java/org/apache/nifi/processors/smb/SmbDfsIT.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-extension-bundles/nifi-smb-bundle/nifi-smb-processors/src/test/java/org/apache/nifi/processors/smb/SmbDfsIT.java
 
b/nifi-extension-bundles/nifi-smb-bundle/nifi-smb-processors/src/test/java/org/apache/nifi/processors/smb/SmbDfsIT.java
index d8076955bc..911fc30111 100644
--- 
a/nifi-extension-bundles/nifi-smb-bundle/nifi-smb-processors/src/test/java/org/apache/nifi/processors/smb/SmbDfsIT.java
+++ 
b/nifi-extension-bundles/nifi-smb-bundle/nifi-smb-processors/src/test/java/org/apache/nifi/processors/smb/SmbDfsIT.java
@@ -70,9 +70,9 @@ class SmbDfsIT {
     @BeforeEach
     void beforeEach() throws Exception {
         sambaContainer.start();
+        Thread.sleep(2000); //Give the container time to start up
 
         sambaContainer.execInContainer("ln", "-s", "msdfs:" + 
sambaContainer.getHost() + "\\share", "/dfs-share-dir/dfs-link");
-        Thread.sleep(100);
     }
 
     @AfterEach

Reply via email to