Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9065

DatasourcePoolAttributesTestCase fails with security manager

XMLWordPrintable

    • Hide

      cd wildfly/testsuite/integration/basic
      mvn clean test -Dtest=DatasourcePoolAttributesTestCase -Dsecurity.manager

      Show
      cd wildfly/testsuite/integration/basic mvn clean test -Dtest=DatasourcePoolAttributesTestCase -Dsecurity.manager

      DatasourcePoolAttributesTestCase fails with security manager:

      INFO  [org.jboss.arquillian.testenricher.cdi.container.BeanManagerProducer] (pool-3-thread-1) BeanManager not found.
      SEVERE [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-3-thread-1) Failed: org.jboss.as.test.integration.jca.poolattributes.DatasourcePoolAttributesTestCase.testModifyNonReloadAttributes: java.lang.NullPointerException
      	at org.jboss.as.test.integration.jca.JcaTestsUtil.extractConnectionManager(JcaTestsUtil.java:129)
      	at org.jboss.as.test.integration.jca.JcaTestsUtil.exctractPoolConfiguration(JcaTestsUtil.java:91)
      	at org.jboss.as.test.integration.jca.poolattributes.DatasourcePoolAttributesTestCase.testModifyNonReloadAttributes(DatasourcePoolAttributesTestCase.java:136)
      ...
      

      It is not obvious why does it fail or which permissions are missing.

            msimka@redhat.com Martin Simka
            okotek@redhat.com Ondrej Kotek
            Ondrej Kotek Ondrej Kotek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: