Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-740

Fractional part of method execution time is truncated for non English locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.9
    • None
    • Windows 7 Pro x64 with Russian locale/JDK 1.6.0_21/Apache Maven 3.0.3 (r1075438; 2011-02-28 20:31:09+0300)

    Description

      The problem is that Maven Surefire Plugin and Maven Surefire Report Plugin use different locales for writing and reading TEST-* file if the default locale is not set to English locale.The first one always uses "Locale.ENGLISH" (org.apache.maven.surefire.report.AbstractReporter, line 43), but the second one uses the default locale (org.apache.maven.plugins.surefire.report.TestSuiteXmlParser, line 50). Russian and English locale use different decimal symbol ("," - Russian locale, '.' - English locale) that causes the described problem.

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            _mak_ Dmitry Malenok
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: