[jboss-jira] [JBoss JIRA] (AS7-3534) TS: Fix datasource info test - check whether it's a module or a deployment.
Ondrej Zizka (JIRA)
jira-events at lists.jboss.org
Wed Feb 1 03:35:48 EST 2012
[ https://issues.jboss.org/browse/AS7-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ondrej Zizka updated AS7-3534:
------------------------------
Description:
Datasources deployed to deployments/ do not have some metadata.
Causes this: http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/as7-param-pull/852/testReport/junit/org.jboss.as.test.smoke.embedded.mgmt.datasource/DataSourceOperationsUnitTestCase/testReadInstalledDrivers/
Pls verify and fix the test:
{code:java}
final ModelNode result2 = result.get(0);
Assert.assertTrue(result2 != null);
Assert.assertTrue(result2.hasDefined("driver-module-name"));
Assert.assertTrue(result2.hasDefined("module-slot"));
Assert.assertTrue(result2.hasDefined("driver-name"));
{code}
was:
Datasources deployed to deployments/ do not have some metadata.
Pls verify and fix the test:
{code:java}
final ModelNode result2 = result.get(0);
Assert.assertTrue(result2 != null);
Assert.assertTrue(result2.hasDefined("driver-module-name"));
Assert.assertTrue(result2.hasDefined("module-slot"));
Assert.assertTrue(result2.hasDefined("driver-name"));
{code}
> TS: Fix datasource info test - check whether it's a module or a deployment.
> ---------------------------------------------------------------------------
>
> Key: AS7-3534
> URL: https://issues.jboss.org/browse/AS7-3534
> Project: Application Server 7
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 7.1.0.CR1b
> Reporter: Ondrej Zizka
> Assignee: Vladimir Rastseluev
> Priority: Critical
> Fix For: 7.1.0.Final
>
>
> Datasources deployed to deployments/ do not have some metadata.
> Causes this: http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/as7-param-pull/852/testReport/junit/org.jboss.as.test.smoke.embedded.mgmt.datasource/DataSourceOperationsUnitTestCase/testReadInstalledDrivers/
> Pls verify and fix the test:
> {code:java}
> final ModelNode result2 = result.get(0);
> Assert.assertTrue(result2 != null);
> Assert.assertTrue(result2.hasDefined("driver-module-name"));
> Assert.assertTrue(result2.hasDefined("module-slot"));
> Assert.assertTrue(result2.hasDefined("driver-name"));
> {code}
--
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