RunTest#getDurationString fails on non-english environments.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: core
    • Environment:
      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.

            Assignee:
            ikedam
            Reporter:
            ikedam
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: