From a774ff8120a9c3aca63cfc977711a38219087d1c Mon Sep 17 00:00:00 2001 From: Joseph Witt Date: Wed, 19 Jun 2024 09:19:25 -0700 Subject: [PATCH] NIFI-13400 ensure container has time to startup before interacting with smb This closes #8982. Signed-off-by: Peter Turcsanyi --- .../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