Open dthuering opened 1 year ago
The project tests do not run successfully.
none
Check out main and run make run-unit
make run-unit
Actual result
--- FAIL: TestAuthenticator (0.00s) --- FAIL: TestAuthenticator/TestAuthenticateTLS (0.00s) --- FAIL: TestAuthenticator/TestAuthenticateTLS/should_authenticate_an_api_key_successfully_with_wildcard_permissions (0.00s) authenticator_test.go:207: Error Trace: authenticator_test.go:207 suite.go:77 Error: Received unexpected error: IR100: invalid tls certificate Test: TestAuthenticator/TestAuthenticateTLS/should_authenticate_an_api_key_successfully_with_wildcard_permissions FAIL
Expected result
All tests pass.
MacBook Pro with M1 using go1.20.6 darwin/arm64
go1.20.6 darwin/arm64
Other
It is most likely the expired certificate for Eve in tls.go that causes the test to fail.
tls.go
$ openssl x509 -text -in tmp/eveCert.pem Certificate: Data: Version: 1 (0x0) Serial Number: 20:eb:cb:11:19:4d:57:94:bb:66:db:c3:43:b8:6d:9d:15:ba:47:eb Signature Algorithm: sha256WithRSAEncryption Issuer: C = CH, ST = Vaud, L = Lausanne, O = ConsenSys, OU = Protocol, CN = localhost Validity Not Before: Sep 6 15:25:04 2021 GMT Not After : Sep 6 15:25:04 2022 GMT Subject: C = CH, ST = Vaud, L = Lausanne, O = signer, OU = *:ethereum, CN = auth0|eve
Describe the bug
The project tests do not run successfully.
Configuration
none
Steps to reproduce
Check out main and run
make run-unit
Actual result
Expected result
All tests pass.
Additional context
MacBook Pro with M1 using
go1.20.6 darwin/arm64
Other
It is most likely the expired certificate for Eve in
tls.go
that causes the test to fail.