Index: AbstractJCRTest.java =================================================================== --- AbstractJCRTest.java (revision 430372) +++ AbstractJCRTest.java (working copy) @@ -347,6 +347,12 @@ testRootNode = superuser.getRootNode().getNode(testPath); } } else { + if (! isSupported(Repository.LEVEL_2_SUPPORTED)) { + cleanUp(); + String msg = "Test case requires level 2 functionality"; + throw new NotExecutableException(msg); + } + testRootNode = cleanUpTestRoot(superuser); // also clean second workspace Session s = helper.getSuperuserSession(workspaceName);