Fixed Compilation problem on Lucene Test
@@ -149,11 +149,6 @@ public class LuceneMiscTest extends BaseLuceneTest {
@Test
public void testUnderscoreField() {
- OrientGraphNoTx graph = new OrientGraphNoTx("memory:doubleLucene");
- try {
- ODatabaseDocumentTx db = graph.getRawGraph();
-
-
db.command(new OCommandSQL("create class Test extends V")).execute();
db.command(new OCommandSQL("create property V._attr1 string")).execute();
@@ -167,9 +162,6 @@ public class LuceneMiscTest extends BaseLuceneTest {
params.put("name", "anyPerson");
List results = db.command(query).execute(params);
Assert.assertEquals(results.size(), 1);
- } finally {
- graph.drop();
- }
}
}
