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

ResourceBundleUtilTest fails due to localization error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Windows 7, jdk8

      I tried to compile jenkins locally using mvn -Plight-test install and got an error while running tests.
      It seems to be linked to my locale which is de_CH.

      Running jenkins.util.ResourceBundleUtilTest
      Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec <<< FAILURE! - in jenkins.util.ResourceBundleUtilTest
      test_unknown_locale(jenkins.util.ResourceBundleUtilTest)  Time elapsed: 0.005 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<Initiali[ng log recorders]> but was:<Initiali[siere Log-Rekorder]>
              at jenkins.util.ResourceBundleUtilTest.test_unknown_locale(ResourceBundleUtilTest.java:63)
      ...
      Results :
      
      Failed tests:
        ResourceBundleUtilTest.test_unknown_locale:63 expected:<Initiali[ng log recorders]> but was:<Initiali[siere Log-Rekorder]>
      
      Tests run: 3464, Failures: 1, Errors: 0, Skipped: 11
      

            andrealaura Andrea Gerster
            andrealaura Andrea Gerster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: