Browse Source

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

John Millikin 6 years ago
parent
commit
c6686734b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/e2e/etcd_config_test.go

+ 1 - 1
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{