зеркало из https://github.com/syncfusion/nifi.git
NIFI-2092 Fixing unit tests which try to clean up directories before stopping the FlowController that has locks opened.
This closes #568
This commit is contained in:
Родитель
fd5327e1b9
Коммит
f0662a24ef
|
@ -91,9 +91,9 @@ public class TestProcessorLifecycle {
|
|||
|
||||
@After
|
||||
public void after() throws Exception {
|
||||
fc.shutdown(true);
|
||||
FileUtils.deleteDirectory(new File("./target/test-repo"));
|
||||
FileUtils.deleteDirectory(new File("./target/content_repository"));
|
||||
fc.shutdown(true);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -51,9 +51,9 @@ public class MonitorMemoryTest {
|
|||
|
||||
@After
|
||||
public void after() throws Exception {
|
||||
fc.shutdown(true);
|
||||
FileUtils.deleteDirectory(new File("./target/test-repo"));
|
||||
FileUtils.deleteDirectory(new File("./target/content_repository"));
|
||||
fc.shutdown(true);
|
||||
}
|
||||
|
||||
@Test(expected = IllegalStateException.class)
|
||||
|
|
Загрузка…
Ссылка в новой задаче