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{