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> |
||
---|---|---|
.. | ||
testdata | ||
aws.go | ||
aws_test.go | ||
basecredentials.go | ||
basecredentials_test.go | ||
clientauth.go | ||
clientauth_test.go | ||
err.go | ||
err_test.go | ||
filecredsource.go | ||
filecredsource_test.go | ||
impersonate.go | ||
impersonate_test.go | ||
sts_exchange.go | ||
sts_exchange_test.go | ||
urlcredsource.go | ||
urlcredsource_test.go |