Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.8.2.2, 10.9.1.0
    • Component/s: Test
    • Labels:

      Description

      ImportExportIJTest fails in Chinese locale, just like below:

      D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functionTests
      .tests.tools.ImportExportIJTest
      .F
      Time: 7.937
      There was 1 failure:
      1) importExportIJ(org.apache.derbyTesting.functionTests.tests.tools.ImportExport
      IJTest)junit.framework.ComparisonFailure: Output at line 22 expected:<ERROR 42Y5
      5: ['DROP TABLE' cannot be performed on 'T1' because it does not exist.]> but wa
      s:<ERROR 42Y55: [?DROP TABLE?????T1????????????]>
      at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon
      (CanonTestCase.java:109)
      at org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(Scr
      iptTestCase.java:201)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:
      112)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      at junit.extensions.TestSetup.run(TestSetup.java:27)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57
      )
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      at junit.extensions.TestSetup.run(TestSetup.java:27)

      FAILURES!!!
      Tests run: 1, Failures: 1, Errors: 0

        Attachments

        1. setDerbyUILocale.patch
          2 kB
          Bryan Pendleton
        2. output-for-more-prints.txt
          879 kB
          Houx Zhang
        3. morePrints.txt
          5 kB
          Bryan Pendleton
        4. DERBY-5217-SystemPropertyTestSetup.patch
          2 kB
          Houx Zhang
        5. DERBY-5217-StandardException.patch
          2 kB
          Houx Zhang
        6. DERBY-5217-log-setMessageLocale-eclipse.txt
          8 kB
          Houx Zhang
        7. DERBY-5217-log-setMessageLocale-DOS.txt
          9 kB
          Houx Zhang
        8. DERBY-5217-log-setMessageLocale.patch
          4 kB
          Houx Zhang
        9. DERBY-5217-log-LocalizedResource.patch
          6 kB
          Houx Zhang
        10. DERBY-5217-log-locale.patch
          4 kB
          Houx Zhang
        11. DERBY-5217-LocaleTestSetup.patch
          1 kB
          Houx Zhang
        12. DERBY-5217-1.patch
          1 kB
          Houx Zhang
        13. d5217-resetLocalizedResourceCache.diff
          3 kB
          Knut Anders Hatlen

          Issue Links

            Activity

              People

              • Assignee:
                houxzhang Houx Zhang
                Reporter:
                houxzhang Houx Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: