I18N problem in Nova's test suites
Bug #1037946 reported by
Jian Wen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Jian Wen |
Bug Description
Some unit tests rely on HTTP response.
Like "self.assertIn(
/opt/stack/
If the response was translated to other language like Chinese the assertion will fail.
How to reproduce the bug:
% export LANG=zh_CN.UTF-8
% export LANGUAGE=
% export LC_MESSAGES=
% ./run_tests.sh
Change locale to english would fix this:
% export LANG=en_US.UTF-8
% export LANGUAGE=en_US:en
% export LC_ALL=C
% ./run_tests.sh
Changed in nova: | |
assignee: | nobody → Sina Web Service Dev (sws) |
Changed in nova: | |
assignee: | Sina Web Service Dev (sws) → Jian Wen (wenjianhn) |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
tags: | added: i18n |
tags: | added: tests |
Changed in nova: | |
status: | Fix Committed → In Progress |
Changed in nova: | |
milestone: | none → folsom-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-rc1 → 2012.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/11539 github. com/openstack/ nova/commit/ 55b37bef9ba3a45 abd544e3b4487cb a2ddad37db
Committed: http://
Submitter: Jenkins
Branch: master
commit 55b37bef9ba3a45 abd544e3b4487cb a2ddad37db
Author: Jian Wen <email address hidden>
Date: Fri Aug 17 16:14:51 2012 +0800
Disable I18N in Nova's test suites
Messages translated into other language like Chinese cause some
unit tests to fail.
Fixes LP bug #1037946.
Change-Id: I01d04333d28bab 52d6f424432524b 206f3845fba