Repository: ambari Updated Branches: refs/heads/trunk 4f2c531d7 -> 60d939ff0
AMBARI-16426. Python UT fail (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/60d939ff Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/60d939ff Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/60d939ff Branch: refs/heads/trunk Commit: 60d939ff03b55a42edd825bb7606cfb5299b56f1 Parents: 4f2c531 Author: Andrew Onishuk <aonis...@hortonworks.com> Authored: Tue May 10 14:05:50 2016 +0300 Committer: Andrew Onishuk <aonis...@hortonworks.com> Committed: Tue May 10 14:05:50 2016 +0300 ---------------------------------------------------------------------- .../test/python/stacks/2.0.6/HDFS/test_alert_metrics_deviation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/60d939ff/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_alert_metrics_deviation.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_alert_metrics_deviation.py b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_alert_metrics_deviation.py index 519a6f0..437e47f 100644 --- a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_alert_metrics_deviation.py +++ b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_alert_metrics_deviation.py @@ -29,7 +29,7 @@ from stacks.utils.RMFTestCase import * # set locale for formatted strings from this alert import locale -locale.setlocale(locale.LC_ALL, 'en_US') +locale.setlocale(locale.LC_ALL, 'en_US.UTF-8') COMMON_SERVICES_ALERTS_DIR = "HDFS/2.1.0.2.0/package/alerts"