NIFI-13400 ensure container has time to startup before interacting with smb

This closes #8982.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
This commit is contained in:
Joseph Witt 2024-06-19 09:19:25 -07:00 committed by Peter Turcsanyi
parent 9d618cc8d0
commit a774ff8120
No known key found for this signature in database
GPG Key ID: 55A813F1C3E553DC
1 changed files with 1 additions and 1 deletions

View File

@ -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