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

DataSourceOperationsUnitTestCase leaving deployed datasource behind after test run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Final
    • None
    • Test Suite
    • None

      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>

              vrastsel_jira Vladimir Rastseluev (Inactive)
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: