Skip to content

Commit

Permalink
Fixed live query test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lvca committed Dec 4, 2015
1 parent bb82268 commit 7d31acf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -22,6 +22,7 @@
import com.orientechnologies.common.exception.OException;
import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx;
import com.orientechnologies.orient.core.db.record.ORecordOperation;
import com.orientechnologies.orient.core.query.live.OLiveQueryHook;
import com.orientechnologies.orient.core.record.impl.ODocument;
import com.orientechnologies.orient.core.sql.query.OLiveQuery;
import com.orientechnologies.orient.core.sql.query.OLiveResultListener;
Expand Down Expand Up @@ -68,7 +69,6 @@ public void testLiveInsert() throws InterruptedException {
ODatabaseDocumentTx db = new ODatabaseDocumentTx("memory:OLiveQueryTest");
db.activateOnCurrentThread();
db.create();
db.registerHook(new OLiveQueryHook(db));
try {
db.getMetadata().getSchema().createClass("test");
db.getMetadata().getSchema().createClass("test2");
Expand Down

0 comments on commit 7d31acf

Please sign in to comment.