Fix setUpClass in AbstractQueryTest to remove the correct target directories from previous test runs

This commit is contained in:
Jonathan Stein 2020-09-27 13:11:36 -05:00 committed by Jan-Willem Gmelig Meyling
parent afaf3b38d7
commit ce3d5ab312

View File

@ -38,7 +38,7 @@ public abstract class AbstractQueryTest {
@BeforeClass
public static void setUpClass() throws IOException {
FileUtils.delete(new File("target/derbydb"));
FileUtils.delete(new File("target/lucene3"));
FileUtils.delete(new File("target/lucene"));
AnnotationConfiguration cfg = new AnnotationConfiguration();
cfg.addAnnotatedClass(User.class);
Properties props = new Properties();