Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28227

RunTest#getDurationString fails on non-english environments.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 1.611
      jdk1.7.0_45
      Windows 8 64bits

      Running hudson.model.RunTest
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.39 sec <<< FAILURE! - in hudson.model.RunTest
      getDurationString(hudson.model.RunTest)  Time elapsed: 0.312 sec  <<< FAILURE!
      java.lang.AssertionError: 0 ms 以上
              at org.junit.Assert.fail(Assert.java:88)
              at org.junit.Assert.assertTrue(Assert.java:41)
              at hudson.model.RunTest.getDurationString(RunTest.java:126)
      

      This expects "0 ms and continuing", but actually gets "0 ms 以上" (a Japanese text) in my environment.

            ikedam ikedam
            ikedam ikedam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: