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:
jpercivall 2016-06-23 12:42:16 -04:00
Родитель fd5327e1b9
Коммит f0662a24ef
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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