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 "Rick Hillegas (JIRA)" <ji...@apache.org> on 2014/04/16 21:16:16 UTC

[jira] [Commented] (DERBY-6544) Non-english locale flunks LuceneSupportTest

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

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

Looking for theories about why this test fails on the machine in question during the nightly runs but does not fail for me on that machine. The machine is sthvmwin011. I have verified that the default locale on that machine is sv_SE. LuceneSupportTest adds a decorator which forces the database locale to be en_US. And there is an assertion in the test that the language is, in fact, en. That assertion fails during the nightly tests because the database language comes back as sv. But when I run the test, the assertion passes.

All theories welcome. Thanks.

> 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
>
> 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)