kwin edited a comment on pull request #376:
URL: https://github.com/apache/jackrabbit-oak/pull/376#issuecomment-947397823


   It seems to work only for test cases extending [AbstractJCRTest, 
JUnit3](https://github.com/apache/jackrabbit/blob/ed3124e5fe223dada33ce6ddf53bc666063c3f2f/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java#L476)
 (and therefore leveraging 
https://github.com/apache/jackrabbit/blob/ed3124e5fe223dada33ce6ddf53bc666063c3f2f/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/JCRTestResult.java#L103)
 but not for ones extending [AbstractRepositoryTest, 
JUnit4](https://github.com/apache/jackrabbit-oak/blob/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/AbstractRepositoryTest.java)
 as the latter does not implement this filtering logic. This would require a 
custom 
[TestRule](https://junit.org/junit4/javadoc/4.12/org/junit/rules/TestRule.html) 
(similar to 
http://www.javabyexamples.com/conditional-ignore-with-junit-test-rule)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to