Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6544

Non-english locale flunks LuceneSupportTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.11.1.1
    • None
    • Test
    • None
    • Normal

    Description

      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/

          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)
      

      Attachments

        1. derby-6544-01-aa-singleUseDatabases.diff
          10 kB
          Richard N. Hillegas
        2. error.png
          275 kB
          Richard N. Hillegas
        3. z.diff
          22 kB
          Richard N. Hillegas
        4. Z1.java
          5 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              rhillegas Richard N. Hillegas
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: