Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-5643

Some test cases are sensitive to the system locale

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.5.0
    • Component/s: CDAP Examples, Datasets, Test
    • Labels:
      None
    • Release Notes:
      Fixed some test cases to not depend on US as the system locale.
    • Rank:
      1|hzzb1r:

      Description

      For example, PartitionedFileSetTest uses:

      DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
      

      to parse date strings. It should pass in the Locale.US to make it work on systems with a different locale.

        Attachments

          Activity

            People

            • Assignee:
              andreas Andreas Neumann
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: