tests: Use more deterministic error message in TestEtcdPeerNameAuth

This commit is contained in:
John Millikin 2019-07-10 13:32:43 +09:00
parent c6686734b1
commit 95f3138b5f
No known key found for this signature in database
GPG Key ID: 1F7686B8DA217791

View File

@ -260,7 +260,7 @@ func TestEtcdPeerNameAuth(t *testing.T) {
if i <= 1 {
expect = etcdServerReadyLines
} else {
expect = []string{"remote error: tls: bad certificate"}
expect = []string{"client certificate authentication failed"}
}
if err := waitReadyExpectProc(p, expect); err != nil {
t.Fatal(err)