Skip to content

Commit 8c8c7d7

Browse files
committed
update test2
1 parent 8ced63d commit 8c8c7d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

t/upstream_mtls2.t

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ run_tests;
3232

3333
__DATA__
3434
35-
=== TEST 1: send client certificate
35+
=== TEST 1: only set client certificate
3636
--- config
3737
location /t {
3838
access_by_lua_block {
@@ -62,13 +62,13 @@ __DATA__
6262
proxy_ssl_name admin.apisix.dev;
6363
proxy_pass https://unix:$TEST_NGINX_HTML_DIR/nginx.sock:/foo;
6464
}
65-
66-
--- response_body
67-
ok
65+
--- error_code: 502
66+
--- error_log
67+
unable to verify the first certificate
6868
6969
7070
71-
=== TEST 2: send ca certificate
71+
=== TEST 2: send valid client certificate
7272
--- config
7373
location /t {
7474
access_by_lua_block {

0 commit comments

Comments
 (0)