[ 
https://issues.apache.org/jira/browse/OAK-833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664169#comment-13664169
 ] 

Antonio Sanso commented on OAK-833:
-----------------------------------

just for completeness this is the error stacktrace that I have if loginReader() 
is used


java.lang.RuntimeException: javax.jcr.LoginException: Login Failure: all 
modules ignored
        at 
org.apache.jackrabbit.oak.benchmark.AbstractTest.loginReader(AbstractTest.java:236)
        at 
org.apache.jackrabbit.oak.benchmark.ReadStatusTestSingleACL.beforeSuite(ReadStatusTestSingleACL.java:59)
        at 
org.apache.jackrabbit.oak.benchmark.AbstractTest.setUp(AbstractTest.java:71)
        at 
org.apache.jackrabbit.oak.benchmark.ReadStatusTestSingleACL.setUp(ReadStatusTestSingleACL.java:33)
        at 
org.apache.jackrabbit.oak.benchmark.AbstractTest.runTest(AbstractTest.java:111)
        at 
org.apache.jackrabbit.oak.benchmark.AbstractTest.run(AbstractTest.java:84)
        at 
org.apache.jackrabbit.oak.benchmark.ReadStatusTestSingleACL.run(ReadStatusTestSingleACL.java:33)
        at 
org.apache.jackrabbit.oak.benchmark.BenchmarkRunner.main(BenchmarkRunner.java:113)
        at org.apache.jackrabbit.oak.run.Main.main(Main.java:63)
Caused by: javax.jcr.LoginException: Login Failure: all modules ignored
        at 
org.apache.jackrabbit.oak.jcr.RepositoryImpl.login(RepositoryImpl.java:145)
        at 
org.apache.jackrabbit.oak.jcr.RepositoryImpl.login(RepositoryImpl.java:158)
        at 
org.apache.jackrabbit.oak.benchmark.AbstractTest.loginReader(AbstractTest.java:232)
        ... 8 more
Caused by: javax.security.auth.login.LoginException: Login Failure: all modules 
ignored
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:921)
        at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
        at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
        at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
        at 
org.apache.jackrabbit.oak.core.ContentRepositoryImpl.login(ContentRepositoryImpl.java:87)
        at 
org.apache.jackrabbit.oak.jcr.RepositoryImpl.login(RepositoryImpl.java:128)
        ... 10 more

                
> Extend the performance framework in order to handle also junit test
> -------------------------------------------------------------------
>
>                 Key: OAK-833
>                 URL: https://issues.apache.org/jira/browse/OAK-833
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: run
>            Reporter: Antonio Sanso
>            Priority: Minor
>         Attachments: OAK-833-patch.txt, OAK-833-patch.txt
>
>
> The current performance test framework in the benchmark are of oak-run at the 
> moment works only as integration test against a running instance.
> It would be nice to extend them to work as well with junit test.
> I will provide a patch that try to extend this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to