[infinispan-issues] [JBoss JIRA] (ISPN-4237) Security manager test QueryAuthorizationTest.testQuery fails
Vojtech Juranek (JIRA)
issues at jboss.org
Fri Apr 25 08:44:34 EDT 2014
Vojtech Juranek created ISPN-4237:
-------------------------------------
Summary: Security manager test QueryAuthorizationTest.testQuery fails
Key: ISPN-4237
URL: https://issues.jboss.org/browse/ISPN-4237
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Reporter: Vojtech Juranek
Assignee: Dan Berindei
{{org.infinispan.security.QueryAuthorizationTest.testQuery}} fails (no matter which JDK is used) with
{noformat}
java.lang.IllegalArgumentException: Indexing was not enabled on this cache. interface org.hibernate.search.spi.SearchFactoryIntegrator not found in registry
at org.infinispan.query.impl.ComponentRegistryUtils.getComponent(ComponentRegistryUtils.java:27)
at org.infinispan.query.impl.ComponentRegistryUtils.getComponent(ComponentRegistryUtils.java:20)
at org.infinispan.query.impl.SearchManagerImpl.<init>(SearchManagerImpl.java:42)
at org.infinispan.query.Search.getSearchManager(Search.java:21)
at org.infinispan.security.QueryAuthorizationTest.queryTest(QueryAuthorizationTest.java:97)
at org.infinispan.security.QueryAuthorizationTest.access$300(QueryAuthorizationTest.java:32)
at org.infinispan.security.QueryAuthorizationTest$4.run(QueryAuthorizationTest.java:113)
at org.infinispan.security.QueryAuthorizationTest$4.run(QueryAuthorizationTest.java:109)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.infinispan.security.QueryAuthorizationTest.testQuery(QueryAuthorizationTest.java:109)
{noformat}
Example of test failure in Jenkins on RHEL6 and Oracle JDK 7 is e.g. [here|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-testsuite-rhel/317/USE_JDK=JDK7,jdk=java17_default,label=RHEL6_x86_64/testReport/junit/org.infinispan.security/QueryAuthorizationTest/testQuery/].
Maybe it's some setup issue, as on Jenkins it fails on all platforms, while I;m not able to reproduce it on my machine.
--
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
More information about the infinispan-issues
mailing list