You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jason Dillon (JIRA)" <ji...@apache.org> on 2007/06/14 19:38:26 UTC
[jira] Updated: (GERONIMO-2210) Enable tests
(geronimo-connector-builder :: **/Connector15DCBTest.java)
[ https://issues.apache.org/jira/browse/GERONIMO-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dillon updated GERONIMO-2210:
-----------------------------------
Component/s: connector
> Enable tests (geronimo-connector-builder :: **/Connector15DCBTest.java)
> -----------------------------------------------------------------------
>
> Key: GERONIMO-2210
> URL: https://issues.apache.org/jira/browse/GERONIMO-2210
> Project: Geronimo
> Issue Type: Sub-task
> Security Level: public(Regular issues)
> Components: connector
> Affects Versions: 1.2
> Reporter: Jason Dillon
> Assignee: Anita Kulshreshtha
> Fix For: 2.0-M5
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.