db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6544) Non-english locale flunks LuceneSupportTest
Date Mon, 21 Apr 2014 14:18:15 GMT

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

Rick Hillegas commented on DERBY-6544:
--------------------------------------

If LuceneSupportPermsTest is decorated so that the database is not removed at the end, then
the test run succeeds. I am inclined to pursue this solution and log a separate bug against
the test harness to make the decorators play together better. The Z1 test demonstrates that
this is a test-framework problem and not a defect in the Lucene plugin.

> Non-english locale flunks LuceneSupportTest
> -------------------------------------------
>
>                 Key: DERBY-6544
>                 URL: https://issues.apache.org/jira/browse/DERBY-6544
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.11.0.0
>            Reporter: Rick Hillegas
>         Attachments: Z1.java, error.png, z.diff
>
>
> The following error surfaced in the nightly tests on a windows machine with a Swedish
locale. See http://download.java.net/javadesktop/derby/request_5589934/
> {noformat}
>     junit.framework.AssertionFailedError: Column value mismatch @ column '1', row 1:
>     Expected: >en<
>     Found:    >sv<
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1303)
> 	at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1215)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSetMinion(JDBC.java:1102)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:1025)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:982)
> 	at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:940)
> 	at org.apache.derbyTesting.functionTests.tests.lang.LuceneSupportTest.testCreateAndQueryIndex(LuceneSupportTest.java:75)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:440)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:457)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message