Derby
  1. Derby
  2. DERBY-4260

Make derbynet/NetworkServerControlClientCommandTest run regardless of the locale

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.6.1.0
    • Fix Version/s: 10.8.2.2, 10.9.1.0
    • Component/s: Test
    • Labels:
    • Urgency:
      Low
    • Issue & fix info:
      Patch Available

      Description

      The NetworkServerControlClientCommandTest has in it a check that will only run the test if the locale is set to 'en'.

      It is open to suggestion the how to achieve this and whether it should be done. Since the test is a pretty generic one, I think it should be ran regardless of the locale.

      Knut suggested we'd force the locale to 'en' on the setUp() and back to its previous value on the tearDown(). On a first analysis this seems like the ideal method to go about it. Just removing the check for the locale altogether might not be wise because of the calls to assertFailedPing() that involve some hardcoded strings.

      1. 4260-1.patch
        8 kB
        Houx Zhang

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Houx Zhang
              Reporter:
              Tiago R. Espinha
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development