Open HonlinRen opened 3 years ago
Hey @HonlinRen 👋,
Assuming you've not made any local changes, could I just confirm which commit you're working from? The TestSignatureRoundTripDecoding
test passes locally for me on both the 3.0.0
release commit: https://github.com/buzzfeed/sso/commit/8ebaa8686a82027a10d87e25785acda5522df481, and the latest main
commit: https://github.com/buzzfeed/sso/commit/a1b1b74c2e6448f9e05efdbcf3e2b6920fe0c6a5 (e.g. go test -run TestSignatureRoundTripDecoding
from the internal/proxy
directory).
It's also working via our remote tests on GitHub (circleci).
I hava git pull and go run TestSignatureRoundTripDecoding this test again,but it's still eroor. As follow
git pull
remote: Enumerating objects: 36, done.
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 36 (delta 25), reused 36 (delta 25), pack-reused 0
Unpacking objects: 100% (36/36), 6.84 KiB | 6.00 KiB/s, done.
From github.com:buzzfeed/sso
+ 980fa1d...f92247f jusshersmith-sso-http-samesite -> origin/jusshersmith-sso-http-samesite (forced update)
+ 282aaed...ddae086 jusshersmith-sso-http-samesite-testing -> origin/jusshersmith-sso-http-samesite-testing (forced update)
Already up to date.
=== RUN TestSignatureRoundTripDecoding request_signer_test.go:179:
exp: "424ed3e021af966edfd244d35dd1bfb9d05a42e2ae10095a8d3c5c23dc3fa5cb"
got: "424f5a1abb9c82c354773f665592d5b7bbde933611e46ef5039db87b2d4c5e1c"
--- FAIL: TestSignatureRoundTripDecoding (0.01s)
FAIL
The TestSignatureRoundTripDecoding in configuration_test.go ,the test case failed,the error is
But I can't find out where the problem is