[jboss-jira] [JBoss JIRA] (LOGMGR-92) [tests] LoggerTests.testResourceBundle fails on german windows

James Perkins (JIRA) issues at jboss.org
Fri Aug 18 14:55:00 EDT 2017


     [ https://issues.jboss.org/browse/LOGMGR-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins closed LOGMGR-92.
-------------------------------
    Resolution: Out of Date


I can't reproduce this on the 1.4+ branch. Since it's just a test failure on 1.3 (maybe lower too) I don't think we need to worry too much about it as that branch is quite old now.

If you think this issue is more than just a test issue please feel free to reopen.

> [tests] LoggerTests.testResourceBundle fails on german windows
> --------------------------------------------------------------
>
>                 Key: LOGMGR-92
>                 URL: https://issues.jboss.org/browse/LOGMGR-92
>             Project: JBoss Log Manager
>          Issue Type: Bug
>    Affects Versions: 1.3.2.Final, 2.0.0.Beta1
>         Environment: maven 3.0.2 on Win7x64 cygwin
>            Reporter: Bernd Eckenfels
>            Priority: Minor
>              Labels: i18n
>
> When I run "mvn test" for the logmanager build (various branches) on german Win7 it fails with 
> Tests run: 42, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.834 sec <<< FAILURE!                                     
> Results:                                                                                                        Failed tests:   testResourceBundle(org.jboss.logmanager.LoggerTests): Can't find org.jboss.logmanager.LoggerTests bundle    
> Tests run:42 ,Failures:1, Errors:0,Skipped:0
> ava.util.MissingResourceException: Can't find org.jboss.logmanager.LoggerTests bundle
> 	at java.util.logging.Logger.setupResourceInfo(Logger.java:1335)
> 	at java.util.logging.Logger.getLogger(Logger.java:335)
> 	at org.jboss.logmanager.Logger.getLogger(Logger.java:75)
> 	at org.jboss.logmanager.LoggerTests.testResourceBundle(LoggerTests.java:149)
> It helps to copy src/test/resources/org/jboss/logmanager/LoggerTests_en.properties to LoggerTests.properties, however strangely enough it does not help to manually specify user.language=en in the surefire configuration. The test should at least skip itself if the locale is not specified correctly (or ship locale independend translation).



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list