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

turcsanyi pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


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

commit 1f4858df49e0e4a2fefc78a324d81cca28fe92f7
Author: Joseph Witt <joew...@apache.org>
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 <turcsa...@apache.org>
    
    (cherry picked from commit a774ff8120a9c3aca63cfc977711a38219087d1c)
---
 .../src/test/java/org/apache/nifi/processors/smb/SmbDfsIT.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-smb-bundle/nifi-smb-processors/src/test/java/org/apache/nifi/processors/smb/SmbDfsIT.java
 
b/nifi-nar-bundles/nifi-smb-bundle/nifi-smb-processors/src/test/java/org/apache/nifi/processors/smb/SmbDfsIT.java
index 6fe51b3eb6..29c8dcde8b 100644
--- 
a/nifi-nar-bundles/nifi-smb-bundle/nifi-smb-processors/src/test/java/org/apache/nifi/processors/smb/SmbDfsIT.java
+++ 
b/nifi-nar-bundles/nifi-smb-bundle/nifi-smb-processors/src/test/java/org/apache/nifi/processors/smb/SmbDfsIT.java
@@ -71,9 +71,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