tests: Use 'localhost' to match SAN of `integration/fixtures/server.crt`

release-3.4
John Millikin 2019-07-10 10:13:10 +09:00
parent 91472797ff
commit c6686734b1
No known key found for this signature in database
GPG Key ID: 1F7686B8DA217791
1 changed files with 1 additions and 1 deletions

View File

@ -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{