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

Security manager test QueryAuthorizationTest.testQuery fails

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  NadirX Tristan Tarrant
                  Reporter:
                  vjuranek Vojtech Juranek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: