[
https://issues.jboss.org/browse/AS7-2515?page=com.atlassian.jira.plugin.s...
]
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:<...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>
--
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