mirror of https://github.com/apache/nifi.git
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:
parent
9d618cc8d0
commit
a774ff8120
|
@ -70,9 +70,9 @@ class SmbDfsIT {
|
||||||
@BeforeEach
|
@BeforeEach
|
||||||
void beforeEach() throws Exception {
|
void beforeEach() throws Exception {
|
||||||
sambaContainer.start();
|
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");
|
sambaContainer.execInContainer("ln", "-s", "msdfs:" + sambaContainer.getHost() + "\\share", "/dfs-share-dir/dfs-link");
|
||||||
Thread.sleep(100);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@AfterEach
|
@AfterEach
|
||||||
|
|
Loading…
Reference in New Issue