| commit | ad913aefc7240bcad0a7d52d31345b2e181b456a | [log] [tgz] |
|---|---|---|
| author | vadimsh <vadimsh@chromium.org> | Wed Aug 02 09:41:37 2017 |
| committer | Commit Bot <commit-bot@chromium.org> | Wed Aug 02 09:41:37 2017 |
| tree | 00329905ef541853893dda52fbbdb645ab4857fb | |
| parent | fb82bfe733c86cb9d46ff4ebc0fec2d727abf8a8 [diff] |
Fix mocked time in 'common/auth/localauth' tests. It incorrectly set local time as test time. TestRecentTimeLocal represents different instances in time for different local timezones (but same local clock readings). The test later compares Unix representation of this time to a predefined value. Unix time is always counted from UTC zone, so different moments in time have different representations. The test hardcoded Unix representation of PST variant of TestRecentTimeLocal, and so tests passed only in PST zone. R=tandrii@chromium.org BUG=747013 Review-Url: https://codereview.chromium.org/2988263002
go get -u github.com/luci/luci-go/client/cmd/... go get -u github.com/luci/luci-go/server/cmd/...
/common/... and /server/..../appengine/..., /client/... and /server/...; for example, the structures used by the server APIs. These are inherently APIs./appengine/....go1 contains the stable code.master constains the latest code.user.email and user.name are configured in git config.go get -u -t github.com/luci/luci-go/client/...go get -u github.com/maruel/pre-commit-go/cmd/... && pcgRun the following to setup the code review tool and create your first review:
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/src/depot_tools export PATH="$PATH:$HOME/src/depot_tools" cd $GOROOT/github.com/luci/luci-go git checkout -b work origin/master # hack hack git commit -a -m "This is awesome\nR=joe@example.com" # This will ask for your Google Account credentials. git cl upload -s # Wait for LGTM over email. # Check the commit queue box in codereview website. # Wait for the change to be tested and landed automatically.
Use git cl help and git cl help <cmd> for more details.