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

Enable i18n tests in non-English locales

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.9.1.0
    • 10.8.2.2, 10.9.1.0
    • Test
    • None

    Description

      The i18n tests are disabled if they are running in non-English locales. It would be good to have them running regardless of the locale.

      In Ole's nightly tests they are not running on Windows because of this. Seen for example last night when the i18n tests failed on all platforms, except on Windows:
      http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.6/testing/Limited/testSummary-1143118.html

      There have been various improvements in ScriptTestCase lately to allow the canon-based tests to run in non-English locales, so I think it's safe to enable them now.

      Attachments

        1. d5314.diff
          4 kB
          Knut Anders Hatlen

        Issue Links

          Activity

            The attached patch makes the i18n suite run regardless of locale. It also removes calls to LocalizedResource.resetLocalizedResourceCache() from the individual tests in the suite, since that is handled by ScriptTestCase after DERBY-5217 and not needed.

            The i18n suite ran successfully in my environment with the locale set to zh_CN.UTF-8 and ja_JP.eucJP.

            knutanders Knut Anders Hatlen added a comment - The attached patch makes the i18n suite run regardless of locale. It also removes calls to LocalizedResource.resetLocalizedResourceCache() from the individual tests in the suite, since that is handled by ScriptTestCase after DERBY-5217 and not needed. The i18n suite ran successfully in my environment with the locale set to zh_CN.UTF-8 and ja_JP.eucJP.

            Committed revision 1145057.

            knutanders Knut Anders Hatlen added a comment - Committed revision 1145057.

            reopen to backport to 10.8

            myrna Myrna van Lunteren added a comment - reopen to backport to 10.8

            backported revision 11405057 together with revision 1137213 for DERBY-5217 with revision 1160433.

            myrna Myrna van Lunteren added a comment - backported revision 11405057 together with revision 1137213 for DERBY-5217 with revision 1160433.

            People

              knutanders Knut Anders Hatlen
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: