]
RH Bugzilla Integration commented on ISPN-4237:
-----------------------------------------------
Adrian Nistor <anistor(a)redhat.com> changed the Status of [bug
Security manager test QueryAuthorizationTest.testQuery fails
------------------------------------------------------------
Key: ISPN-4237
URL:
https://issues.jboss.org/browse/ISPN-4237
Project: Infinispan
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Test Suite - Core
Affects Versions: 7.0.0.Alpha3
Reporter: Vojtech Juranek
Assignee: Dan Berindei
Labels: testsuite_stability
Fix For: 7.0.0.Alpha5
Attachments: QueryAuthorizationTest.log.zip
{{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-tes...].
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.