[ 
http://issues.apache.org/jira/browse/GERONIMO-2210?page=comments#action_12448357
 ] 
            
Anita Kulshreshtha commented on GERONIMO-2210:
----------------------------------------------

Removed old style configId from test plans in rev 472756. The test are passing 
in eclipse!

> Enable tests (geronimo-connector-builder :: **/Connector15DCBTest.java)
> -----------------------------------------------------------------------
>
>                 Key: GERONIMO-2210
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2210
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>    Affects Versions: 1.2
>            Reporter: Jason Dillon
>             Fix For: 1.2
>
>
> A few tests failed in non-obvious ways when run under the m2 build.  Need 
> someone who knows these tests better to inspect, resolve and enable the test 
> (remove the test exclusions in the pom).
> The test fails with (on the console):
> {noformat}
> Ignoring connectiondefinition-instance/config-setting ServerUrl (no matching 
> config-property in J2EE DD)
> Ignoring connectiondefinition-instance/config-setting UserName (no matching 
> config-property in J2EE DD)
> Ignoring connectiondefinition-instance/config-setting Password (no matching 
> config-property in J2EE DD)
> Geronimo connector deployment plan has admin object with interface 
> 'javax.jms.Queue' and class 'org.activemq.message.ActiveMQQueue' but the 
> ra.xml does not have a matching adminobject declared.  Deleting this 
> adminobject from the Geronimo plan.
> Geronimo connector deployment plan has admin object with interface 
> 'javax.jms.Queue' and class 'org.activemq.message.ActiveMQQueue' but the 
> ra.xml does not have a matching adminobject declared.  Deleting this 
> adminobject from the Geronimo plan.
> Geronimo connector deployment plan has admin object with interface 
> 'javax.jms.Topic' and class 'org.activemq.message.ActiveMQTopic' but the 
> ra.xml does not have a matching adminobject declared.  Deleting this 
> adminobject from the Geronimo plan.
> {noformat}
> And in the surefire report:
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.geronimo.connector.deployment.jsr88.Connector15DCBTest
> -------------------------------------------------------------------------------
> Tests run: 4, Failures: 3, Errors: 1, Skipped: 0, Time elapsed: 1.488 sec <<< 
> FAILURE!
> testCreateDatabase(org.apache.geronimo.connector.deployment.jsr88.Connector15DCBTest)
>   Time elapsed: 0.66 sec  <<< ERROR!
> java.lang.NullPointerException
>       at 
> org.apache.geronimo.connector.deployment.jsr88.ConnectionDefinition.configure(ConnectionDefinition.java:64)
>       at 
> org.apache.geronimo.connector.deployment.jsr88.ResourceAdapter.setConnectionDefinition(ResourceAdapter.java:111)
>       at 
> org.apache.geronimo.connector.deployment.jsr88.Connector15DCBTest.testCreateDatabase(Connector15DCBTest.java:114)
> testWriteWithNulls(org.apache.geronimo.connector.deployment.jsr88.Connector15DCBTest)
>   Time elapsed: 0.046 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
>       at junit.framework.Assert.fail(Assert.java:47)
>       at junit.framework.Assert.failNotEquals(Assert.java:282)
>       at junit.framework.Assert.assertEquals(Assert.java:64)
>       at junit.framework.Assert.assertEquals(Assert.java:201)
>       at junit.framework.Assert.assertEquals(Assert.java:207)
>       at 
> org.apache.geronimo.connector.deployment.jsr88.Connector15DCBTest.testWriteWithNulls(Connector15DCBTest.java:205)
> testCreateJMSResource(org.apache.geronimo.connector.deployment.jsr88.Connector15DCBTest)
>   Time elapsed: 0.382 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<7> but was:<4>
>       at junit.framework.Assert.fail(Assert.java:47)
>       at junit.framework.Assert.failNotEquals(Assert.java:282)
>       at junit.framework.Assert.assertEquals(Assert.java:64)
>       at junit.framework.Assert.assertEquals(Assert.java:201)
>       at junit.framework.Assert.assertEquals(Assert.java:207)
>       at 
> org.apache.geronimo.connector.deployment.jsr88.Connector15DCBTest.testCreateJMSResource(Connector15DCBTest.java:355)
> testLoadJMSResources(org.apache.geronimo.connector.deployment.jsr88.Connector15DCBTest)
>   Time elapsed: 0.38 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<7> but was:<4>
>       at junit.framework.Assert.fail(Assert.java:47)
>       at junit.framework.Assert.failNotEquals(Assert.java:282)
>       at junit.framework.Assert.assertEquals(Assert.java:64)
>       at junit.framework.Assert.assertEquals(Assert.java:201)
>       at junit.framework.Assert.assertEquals(Assert.java:207)
>       at 
> org.apache.geronimo.connector.deployment.jsr88.Connector15DCBTest.testLoadJMSResources(Connector15DCBTest.java:479)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to