db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4604) test lang.CollationTest.testSwedishCaseInsensitiveCollation fails with IBM's weme6.2/1.4.2.
Date Thu, 01 Apr 2010 17:06:27 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852462#action_12852462
] 

Myrna van Lunteren commented on DERBY-4604:
-------------------------------------------

I see the problem didn't occur with Sun/Oracle's PhoneME...(http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/Limited/)

I like the locale...

I'd be ok with that one test not running with1.4.2. 

I'll pursue a fix from the weme team but am not sure how speedy such a thing can be obtained...Is
it ok to switch it off with just weme6.2 (at least for now)? 
I think this would be the first test to do so. Or would it be ok to also switch it off for
PhoneME as well (i.e. JSR169)?


> test lang.CollationTest.testSwedishCaseInsensitiveCollation fails with IBM's weme6.2/1.4.2.
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4604
>                 URL: https://issues.apache.org/jira/browse/DERBY-4604
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.6.0.0
>         Environment: IBM's weme 6.2 (j2ME/CDC/Foundation1.1 profile) / IBM 1.4.2.
>            Reporter: Myrna van Lunteren
>
> The test testSwedishCaseInsensitiveCollation failed with IBM's weme 6.2 (this was during
a test run with patch for DERBY-4602) and during a legacy run with IBM 1.4.2.
> with weme6.2:
> 1) testSwedishCaseInsensitiveCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)junit.framework.AssertionFailedError:
Column value mismatch @ column 'ID', row 1:
>     Expected: >6<
>     Found:    >4<
> 	at java.lang.Throwable.<init>(Throwable.java:67)
> 	at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1129)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1041)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:929)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:867)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:825)
> 	at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.checkLangBasedQuery(CollationTest.java:1324)
> 	at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.testSwedishCaseInsensitiveCollation(CollationTest.java:561)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> And - do we still support 1.4.2 jvms (?) - this also failed with IBMs 1.4.2:
> 1) testSwedishCaseInsensitiveCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)junit.framework.AssertionFailedError:
Column value mismatch @ column 'ID', row 1:
>     Expected: >6<
>     Found:    >4<
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java(Compiled Code))
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java(Inlined Compiled
Code))
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java(Compiled Code))
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java(Inlined Compiled
Code))
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java(Compiled Code))
> 	at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.checkLangBasedQuery(CollationTest.java:1324)
> 	at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.testSwedishCaseInsensitiveCollation(CollationTest.java:561)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)

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


Mime
View raw message