Update unit tests to handle go1.17 certificate parsing error messages
Kubernetes-commit: 0e925f266f78d72ed05a5a2fe48faa5e2a87d107
This commit is contained in:
parent
5012383632
commit
bbc4211158
|
|
@ -197,7 +197,7 @@ MIIDGTCCAgGgAwIBAgIUOS2M
|
|||
},
|
||||
},
|
||||
user: &defaultUser,
|
||||
errRegex: "unable to load root certificates: failed to parse certificate: asn1: syntax error: data truncated",
|
||||
errRegex: "unable to load root certificates: failed to parse certificate: (asn1: syntax error: data truncated|x509: malformed certificate)",
|
||||
},
|
||||
{
|
||||
test: "user with invalid client certificate path",
|
||||
|
|
|
|||
Loading…
Reference in New Issue