-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
Running mvn test in the modeshape-2.x-tests module resulted in an error for each of the tests. Here's the start of the Maven output (up until the JUnit part of the stacktrace):
[INFO] : Started rebuilding indexes for repository 'My repository' [SLF4JLoggerImpl.java:190][INFO] : Completed rebuilding indexes for repository 'My repository' [SLF4JLoggerImpl.java:190][WARN] : The JAAS policy named 'modeshape-jcr' (nor the policy named 'other') could not be found; check the value of the 'JAAS_LOGIN_CONFIG_NAME' repository option in the configuration for the 'My repository' repository (or ignore this message if JAAS authentication is not being used) [SLF4JLoggerImpl.java:94][INFO] : Completed starting the "My repository" repository [SLF4JLoggerImpl.java:190][INFO] : JcrRepositoryFactory#Initialization : 1201556000 (ns) [TestData.java:39][ERROR] : could not create Vfs.Dir from url. ignoring the exception and continuing [Reflections.java:203]org.reflections.ReflectionsException: could not create Dir using org.reflections.vfs.Vfs$DefaultUrlTypes$2 from url jar:file:/Users/rhauch/.m2/repository/org/modeshape/perf-tests-api/1.0.0-SNAPSHOT/perf-tests-api-1.0.0-SNAPSHOT.jar!/org/modeshape/jcr/perftests/query at org.reflections.vfs.Vfs.fromURL(Vfs.java:98) at org.reflections.vfs.Vfs.fromURL(Vfs.java:88) at org.reflections.Reflections.scan(Reflections.java:199) at org.reflections.Reflections.<init>(Reflections.java:91) at org.modeshape.jcr.perftests.PerformanceTestSuiteRunner.loadPerformanceTestSuites(PerformanceTestSuiteRunner.java:179) at org.modeshape.jcr.perftests.PerformanceTestSuiteRunner.runPerformanceTests(PerformanceTestSuiteRunner.java:82) at org.modeshape.ModeShape2xPerformanceTest.testModeShapeInMemory(ModeShape2xPerformanceTest.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)