[jboss-jira] [JBoss JIRA] (AS7-2515) DataSourceOperationsUnitTestCase leaving deployed datasource behind after test run

Ondrej Zizka (Reopened) (JIRA) jira-events at lists.jboss.org
Thu Dec 1 02:40:42 EST 2011


     [ https://issues.jboss.org/browse/AS7-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Zizka reopened AS7-2515:
-------------------------------



This is back:

{code}
Failed tests:   testAddDsAndTestConnection(org.jboss.as.test.smoke.embedded.mgmt.datasource.DataSourceOperationsUnitTestCase): expected:<...a:jboss/datasources/[MyNewDs]> but was:<...a:jboss/datasources/[ExampleDS]>
  testAddDisabledDsEnableItAndTestConnection(org.jboss.as.test.smoke.embedded.mgmt.datasource.DataSourceOperationsUnitTestCase): {
  testAddDsWithConnectionProperties(org.jboss.as.test.smoke.embedded.mgmt.datasource.DataSourceOperationsUnitTestCase): {
{code}
                
> DataSourceOperationsUnitTestCase leaving deployed datasource behind after test run
> ----------------------------------------------------------------------------------
>
>                 Key: AS7-2515
>                 URL: https://issues.jboss.org/browse/AS7-2515
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: Darran Lofthouse
>            Assignee: Stefano Maestri
>             Fix For: 7.1.0.Beta1
>
>
> 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:&lt;...jboss/datasources/My[Sql]Ds&gt; but was:&lt;...jboss/datasources/My[New]Ds&gt;" type="junit.framework.ComparisonFailure">junit.framework.ComparisonFailure: expected:&lt;...jboss/datasources/My[Sql]Ds&gt; but was:&lt;...jboss/datasources/My[New]Ds&gt;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list