mreutegg commented on a change in pull request #485: URL: https://github.com/apache/jackrabbit-oak/pull/485#discussion_r804778450
########## File path: oak-lucene/src/test/java/org/apache/jackrabbit/oak/composite/blueGreen/IndexUtils.java ########## @@ -142,7 +142,7 @@ public static void checkLibsIsReadOnly(Persistence p) throws RepositoryException try { libsNode.addNode("illegal"); Assert.fail(); - } catch (UnsupportedOperationException e) { + } catch (RepositoryException e) { Review comment: Fair enough. Though, the test did specifically check for just this implementation detail that an UnsupportedOperationException is thrown when an attempt is made to add a node on a read-only mount. -- 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: dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org