瀏覽代碼

tests: Use more deterministic error message in TestEtcdPeerNameAuth

John Millikin 6 年之前
父節點
當前提交
95f3138b5f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/e2e/etcd_config_test.go

+ 1 - 1
tests/e2e/etcd_config_test.go

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