forked from Mirrors/oauth2
d3ed0bb246
It seems like these handful of test would fail because of issues related to timings. When running the tests there was sometimes a second scew from when the subjectToken got and want were calculated. Switched them all to use a static clock so the time portion will never differ. Fixes golang/go#49339 Change-Id: Ia2e4e140526ee1fc37fa9d24765cd8ec3033ea22 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/361354 Trust: Cody Oss <codyoss@google.com> Run-TryBot: Cody Oss <codyoss@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> |
||
---|---|---|
.. | ||
downscope | ||
internal/externalaccount | ||
testdata/gcloud | ||
appengine.go | ||
appengine_gen1.go | ||
appengine_gen2_flex.go | ||
default.go | ||
doc.go | ||
example_test.go | ||
google.go | ||
google_test.go | ||
jwt.go | ||
jwt_test.go | ||
sdk.go | ||
sdk_test.go |