Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1605

Make VisualizerTest locale independent

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.9
    • 0.10.0
    • None

    Description

      Problem

      When trying to build Mahout on a machine with a locale that uses a different decimal separator, org.apache.mahout.classifier.df.tools.VisualizerTest fails because of String assertions that are locale dependent.

      Expected: humidity < 77.5 : yes
      Actual: humidity < 77,5 : yes

      Solution

      Make assertions locale independent.

      Attachments

        Activity

          People

            avati Anand Avati
            frosner Frank Rosner
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: