From 95f3138b5ff207d1d84509db89fde63d0ce89efa Mon Sep 17 00:00:00 2001 From: John Millikin Date: Wed, 10 Jul 2019 13:32:43 +0900 Subject: [PATCH] tests: Use more deterministic error message in TestEtcdPeerNameAuth --- tests/e2e/etcd_config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/etcd_config_test.go b/tests/e2e/etcd_config_test.go index 25bb4940ec6..8688cfc83bb 100644 --- a/tests/e2e/etcd_config_test.go +++ b/tests/e2e/etcd_config_test.go @@ -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)