Skip to content
Browse files

JCR-2662: check for repository support of journaled observation, othe…

…rwise skip test

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1329198 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 046bdb3 commit f90d1f8d6cc7a6f1880e3f3aa29d17ca2d41f47b @reschke reschke committed Apr 23, 2012
View
2 ...-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/observation/EventJournalTest.java
@@ -21,6 +21,7 @@
import java.util.Set;
import javax.jcr.Node;
+import javax.jcr.Repository;
import javax.jcr.RepositoryException;
import javax.jcr.Session;
import javax.jcr.observation.Event;
@@ -36,6 +37,7 @@
private EventJournal journal;
protected void setUp() throws Exception {
+ checkSupportedOption(Repository.OPTION_JOURNALED_OBSERVATION_SUPPORTED);
super.setUp();
journal = obsMgr.getEventJournal();
}

0 comments on commit f90d1f8

Please sign in to comment.
Something went wrong with that request. Please try again.