[ https://issues.apache.org/jira/browse/MAPREDUCE-7270?focusedWorklogId=562869&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-562869 ]
ASF GitHub Bot logged work on MAPREDUCE-7270: --------------------------------------------- Author: ASF GitHub Bot Created on: 09/Mar/21 07:41 Start Date: 09/Mar/21 07:41 Worklog Time Spent: 10m Work Description: liuml07 commented on a change in pull request #1942: URL: https://github.com/apache/hadoop/pull/1942#discussion_r590030931 ########## File path: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/jobhistory/TestHistoryViewerPrinter.java ########## @@ -43,6 +46,19 @@ private final String LINE_SEPARATOR = System.lineSeparator(); + private static Locale DEFAULT_LOCALE; Review comment: This is only initialized during the static `@BeforeClass setUp()` method, and it will not change during every test cases in this class. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 562869) Time Spent: 20m (was: 10m) > TestHistoryViewerPrinter could be failed when the locale isn't English. > ----------------------------------------------------------------------- > > Key: MAPREDUCE-7270 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7270 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: test > Reporter: Sungpeo Kook > Priority: Minor > Labels: pull-request-available > Attachments: MAPREDUCE-7270.patch > > Time Spent: 20m > Remaining Estimate: 0h > > Both of testHumanPrinter and testHumanPrinterAll have expected string for > assertion. > But the actual result includes the Dateformat which can be different depends > on Locale. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org