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
parent fd5327e1b9
commit f0662a24ef
2 changed files with 2 additions and 2 deletions

View File

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

View File

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