Skip to content

Commit

Permalink
tests: Use more deterministic error message in peer auth e2e tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillikin-stripe committed Jul 10, 2019
1 parent c668673 commit 683068f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/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{"client certificate authentication failed"}
}
if err := waitReadyExpectProc(p, expect); err != nil {
t.Fatal(err)
Expand Down Expand Up @@ -260,7 +260,7 @@ func TestEtcdPeerNameAuth(t *testing.T) {
if i <= 1 {
expect = etcdServerReadyLines
} else {
expect = []string{"remote error: tls: bad certificate"}
expect = []string{"client certificate authentication failed"}
}
if err := waitReadyExpectProc(p, expect); err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 683068f

Please sign in to comment.