Merge pull request #104416 from liggitt/go117-certificates
Update unit tests to handle go1.17 certificate parsing error messages Kubernetes-commit: f805f5588beb1ee1057a678a61ecc1cadf736000
This commit is contained in:
commit
97ea982c37
|
|
@ -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