Skip to content

test: set LC_ALL to known good value - #28096

Closed
bnoordhuis wants to merge 1 commit into
nodejs:masterfrom
bnoordhuis:fix27856
Closed

test: set LC_ALL to known good value#28096
bnoordhuis wants to merge 1 commit into
nodejs:masterfrom
bnoordhuis:fix27856

Conversation

@bnoordhuis

Copy link
Copy Markdown
Member

Set the locale to a known good value because it affects ICU's date
string formatting. Setting LC_ALL needs to happen before the first
call to icu::Locale::getDefault() because ICU caches the result.

Fixes: #27856

Set the locale to a known good value because it affects ICU's date
string formatting. Setting LC_ALL needs to happen before the first
call to `icu::Locale::getDefault()` because ICU caches the result.
Fixes: nodejs#27856
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Sadly, an error occurred when I tried to trigger a build. :(

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Jun 6, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 21, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@Trott

Copy link
Copy Markdown
Member

Landed in 2bb93e1

@TrottTrott closed this Jun 25, 2019
Trott pushed a commit to Trott/io.js that referenced this pull request Jun 25, 2019
Set the locale to a known good value because it affects ICU's date
string formatting. Setting LC_ALL needs to happen before the first
call to `icu::Locale::getDefault()` because ICU caches the result.
Fixes: nodejs#27856
PR-URL: nodejs#28096
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
@targos

Copy link
Copy Markdown
Member

Depends on #20026 (semver-major)

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test-process-env-tz fails

8 participants

@bnoordhuis@nodejs-github-bot@Trott@targos@danbev@jasnell@cjihrig@vdeturckheim