Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 24651 invoked from network); 7 Dec 2006 20:20:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2006 20:20:46 -0000 Received: (qmail 49961 invoked by uid 500); 7 Dec 2006 20:20:51 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 49779 invoked by uid 500); 7 Dec 2006 20:20:51 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 49764 invoked by uid 99); 7 Dec 2006 20:20:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 12:20:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 12:20:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C1A887142F9 for ; Thu, 7 Dec 2006 12:20:21 -0800 (PST) Message-ID: <17333083.1165522821790.JavaMail.jira@brutus> Date: Thu, 7 Dec 2006 12:20:21 -0800 (PST) From: "Dain Sundstrom (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-2210) Enable tests (geronimo-connector-builder :: **/Connector15DCBTest.java) In-Reply-To: <17855504.1153432153868.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/GERONIMO-2210?page=all ] Dain Sundstrom updated GERONIMO-2210: ------------------------------------- Fix Version/s: 2.0 (was: 1.2) Assignee: Anita Kulshreshtha No need to back port the fix to 1.2. If this is fixed in trunk, please close the issue. > 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 > Assigned To: Anita Kulshreshtha > Fix For: 2.0 > > > 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