From 702e16ccc40ef83f04af1dc569737041ab95352f Mon Sep 17 00:00:00 2001 From: John Millikin Date: Wed, 10 Jul 2019 10:13:10 +0900 Subject: [PATCH] tests: Use 'localhost' to match SAN of `integration/fixtures/server.crt` --- 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 804f1146590d..25bb4940ec6c 100644 --- a/tests/e2e/etcd_config_test.go +++ b/tests/e2e/etcd_config_test.go @@ -234,7 +234,7 @@ func TestEtcdPeerNameAuth(t *testing.T) { "--peer-key-file", privateKeyPath, "--peer-trusted-ca-file", caPath, "--peer-client-cert-auth", - "--peer-cert-allowed-hostname", "example.com", + "--peer-cert-allowed-hostname", "localhost", } } else { args = []string{