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

DataSourceOperationsUnitTestCase leaving deployed datasource behind after test run

    Details

      Description

      The DataSourceOperationsUnitTestCase is leaving a datasource deployed after the testAddDsWithConnectionProperties test with the error: -

      { "outcome" => "failed", "failure-description" => "Removing services has lead to unsatisfied dependencies: Service jboss.data-source-config.MyNewDs was depended upon by service jboss.data-source-config.MyNewDs.MyKey", "rolled-back" => true }

      This may be visible in the AddMySqlDataSourceOperationsUnitTestCase test with the following failure: -

      <testcase time="0.183" classname="org.jboss.as.test.smoke.embedded.mgmt.datasource.AddMySqlDataSourceOperationsUnitTestCase(tests-smoke-default)" name="testAddDsAndTestConnection">
      <failure message="expected:<...jboss/datasources/My[Sql]Ds> but was:<...jboss/datasources/My[New]Ds>" type="junit.framework.ComparisonFailure">junit.framework.ComparisonFailure: expected:<...jboss/datasources/My[Sql]Ds> but was:<...jboss/datasources/My[New]Ds>

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  vrastsel Vladimir Rastseluev
                  Reporter:
                  dlofthouse Darran Lofthouse
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: