You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2007/03/06 23:23:24 UTC

[jira] Updated: (DERBY-2403) ParameterMappingTest.testParameterMapping() fails on weme6.1

     [ https://issues.apache.org/jira/browse/DERBY-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden updated DERBY-2403:
----------------------------------

    Attachment: DERBY-2403.diff

Attaching a patch to disable with weme6.1 until underlying bug gets fixed.  I disabled the test by adding a conditional to _Suite, but am not sure that this is the correct way to do this.  Perhaps a TestConfiguration is the correct way to go.  I'd appreciate input.



> ParameterMappingTest.testParameterMapping() fails on weme6.1
> ------------------------------------------------------------
>
>                 Key: DERBY-2403
>                 URL: https://issues.apache.org/jira/browse/DERBY-2403
>             Project: Derby
>          Issue Type: Test
>    Affects Versions: 10.3.0.0
>         Environment: weme6.1
>            Reporter: A B
>            Priority: Minor
>         Attachments: DERBY-2403.diff
>
>
> Test fails with the following diff (edited for readability):
>     testParameterMapping(jdbcapi.ParameterMappingTest)junit.framework.AssertionFailedError:
>     (22005):An attempt was made to get a data value of type 'java.lang.Object' from a data value of type 'DECIMAL'.
>      at ParameterMappingTest.showException(ParameterMappingTest.java:2827)
>      at ParameterMappingTest.judge_setXXX(ParameterMappingTest.java:1239)
>      at ParameterMappingTest.setXXX(ParameterMappingTest.java:1352)
>      at ParameterMappingTest.testParameterMapping(ParameterMappingTest.java:407)
>      at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
>      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:80)
> Noticed this failure since roughly 03/01/2007.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (DERBY-2403) ParameterMappingTest.testParameterMapping() fails on weme6.1

Posted by Myrna van Lunteren <m....@gmail.com>.
On 3/6/07, Kathey Marsden (JIRA) <ji...@apache.org> wrote:
>
>     [ https://issues.apache.org/jira/browse/DERBY-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Kathey Marsden updated DERBY-2403:
> ----------------------------------
>
>    Attachment: DERBY-2403.diff
>
> Attaching a patch to disable with weme6.1 until underlying bug gets fixed.  I disabled the test by adding a conditional to _Suite, but am not sure that this is the correct way to do this.  Perhaps a TestConfiguration is the correct way to go.  I'd appreciate input.
>
>
>
> > ParameterMappingTest.testParameterMapping() fails on weme6.1
It would work, but I think it was decided that this type of
conditionals should be handled within each test, not in the _Suite
class.

Myrna