Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5259

DataSourceOperationsUnitTestCase fails with db other than h2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.1.2.Final (EAP)
    • Test Suite
    • None

    Description

      Tests in DataSourceOperationsUnitTestCase fails if run with other database than h2 (-Dds=...). The test should be independent on the ExampleDS datasource.

      $ mvn install -Dds=mysql51 -rf testsuite/integration/smoke
      ...
      
      Results :
      
      Tests in error: 
        testSendWithTxCommit(org.jboss.as.test.smoke.stilts.SimpleStompletTestCase): Connection timed out.
        testAddDsAndTestConnection(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testAddDisabledDsEnableItAndTestConnection(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testAddDsWithConnectionProperties(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testAddAndRemoveSameName(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testAddAndRemoveNameAndJndiNameDifferent(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testAddAndRemoveXaDs(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testMarshallUnmarshallXaDs(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        disableAndReEnableXaDs(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testAddXaDsWithProperties(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testAddComplexDs(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testAddComplexXaDs(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testXaDsWithSystemProperties(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS010468: Driver named \"h2\" is not installed."
        testDsWithSystemProperties(org.jboss.as.test.smoke.mgmt.datasource.DataSourceOperationsUnitTestCase): Management operation failed: "JBAS014803: Duplicate resource [(\"system-property\" => \"sql.parameter\")]"
      

      Datasource in standalone.xml is configured like this:

      <subsystem xmlns="urn:jboss:domain:datasources:1.1">
          <datasources>
              <datasource jta="true" jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExamplePool" enabled="true" use-java-context="true">
                  <connection-url>jdbc:mysql://localhost:3306/test</connection-url>
                  <driver>mysql-jdbc-driver.jar</driver>
                  <security>
                      <user-name>test</user-name>
                      <password>test</password>
                  </security>
              </datasource>
          </datasources>
      </subsystem>
      

      Attachments

        Issue Links

          Activity

            People

              vrastsel_jira Vladimir Rastseluev (Inactive)
              hbrazdil Honza Brázdil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: