iamatwork opened a new pull request #26713: [SPARK-30079][BUILD] set locale en_US in pom.xml for tests URL: https://github.com/apache/spark/pull/26713 Added system-properties for tests (surefire & scalatest) to enforce locale en_US. Some tests fail in other environments, because assertions assume english messages and formatting of numbers. ### What changes were proposed in this pull request? configuration in pom.xml, so surefire and scalatest run with locale en_US. ### Why are the changes needed? some tests fail on systems with different locales. E.g. org.apache.spark.deploy.SparkSubmitSuite Some assert messages of exceptions, which depend on the language of the environment. Others failed, because numbers are formatted differently. E.g. "," instead of ".". ### Does this PR introduce any user-facing change? No ### How was this patch tested? - checkout master - build fails with locale de_DE - switch system locale to en_US build success. - added proposed properties to pom.xml and reset system to de_DE. - tests still green. no new tests added. existing tests started working.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
