Skip to content
/ etcd Public
forked from etcd-io/etcd

Commit

Permalink
e2e: fix remote error string in TestEtcdPeerCNAuth
Browse files Browse the repository at this point in the history
Now error is embed: rejected connection from "127.0.0.1:58527" (error "remote error: tls: bad certificate", ServerName "").
Change from etcd-io#8952.

Signed-off-by: Gyu-Ho Lee <[email protected]>
  • Loading branch information
gyuho committed Dec 1, 2017
1 parent 3537582 commit 156722e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/etcd_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 156722e

Please sign in to comment.