[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
Tue Feb 7 12:34:50 EST 2012


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

Ondrej Zizka updated AS7-3534:
------------------------------

    Steps to Reproduce: 
1) Remove the default JDBC driver from standalone.xml
2  Put a JDBC 4.0 driver to <AS>/standalone/deployments
3) In standalone.xml, add config for this driver:
{code:xml}
                <drivers>
                    <driver name="h2" module="com.h2database.h2">
                        driver-file-name.jar
                    </driver>
                </drivers>
{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