mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
e2e: fix remote error string in TestEtcdPeerCNAuth
Now error is embed: rejected connection from "127.0.0.1:58527" (error "remote error: tls: bad certificate", ServerName ""). Change from https://github.com/coreos/etcd/pull/8952. Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
3537582bcf
commit
156722e26a
@ -183,7 +183,7 @@ func TestEtcdPeerCNAuth(t *testing.T) {
|
||||
if i <= 1 {
|
||||
expect = etcdServerReadyLines
|
||||
} else {
|
||||
expect = []string{"(remote error: tls: bad certificate)"}
|
||||
expect = []string{"remote error: tls: bad certificate"}
|
||||
}
|
||||
if err := waitReadyExpectProc(p, expect); err != nil {
|
||||
t.Fatal(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user