Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4237

Security manager test QueryAuthorizationTest.testQuery fails

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      org.infinispan.security.QueryAuthorizationTest.testQuery fails (no matter which JDK is used) with

      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)
      

      Example of test failure in Jenkins on RHEL6 and Oracle JDK 7 is e.g. here.

      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.

              ttarrant@redhat.com Tristan Tarrant
              vjuranek@redhat.com Vojtech Juranek
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: