Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8105

[Broker-J] broker-core unit tests are failing because of wrong locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • qpid-java-broker-7.0.1
    • qpid-java-broker-8.0.0
    • Broker-J
    • None

    Description

      The tests make assumptions that they are running in a Locale where the comma character is used to separate thousands in long numbers, and the dot character is used to separate whole numbers from decimal fractions.

      There are two types of errors, one where numbers are formatted in the tests using the default Locale, but compared to output from the Broker messages which always use Locale.US. Secondly there are tests which assume the output value from the Broker will always be in a Locale.US format, but are actually determined by the current Locale inside the broker (e.g. in the HTTP management API, and in storing JSON).

      Attachments

        Issue Links

          Activity

            People

              rgodfrey Robert Godfrey
              overmeulen Olivier VERMEULEN
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: