Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Use --utc instead of patching time.Local. #8152
Conversation
jameinel
changed the base branch from
develop
to
2.3
Nov 29, 2017
|
$$merge$$ |
|
Status: merge request accepted. Url: http://ci.jujucharms.com/job/github-merge-juju |
jujubot
merged commit e58e8b9
into
juju:2.3
Nov 29, 2017
1 check passed
continuous-integration/jenkins/pr-merge
This commit looks good
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jameinel commentedNov 29, 2017
Description of change
It isn't safe to patch global objects (racy), so instead just ask for
utc times from the command.
QA steps
Passes with this fix, fails because of a race between the test suite runner calling time.Now() and the test suite patching time.Local that is used by time.Now.
Documentation changes
No
Bug reference
lp:1735112