From f0872b7ee1f9e48ce1fb89f4cea3995134dc9241 Mon Sep 17 00:00:00 2001 From: AlinsRan Date: Wed, 29 May 2024 22:26:34 +0800 Subject: [PATCH] update test case --- t/admin/ssl4.t | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/t/admin/ssl4.t b/t/admin/ssl4.t index 19e803ce6a18d..ea1499f6bf27c 100644 --- a/t/admin/ssl4.t +++ b/t/admin/ssl4.t @@ -483,16 +483,29 @@ passed === TEST 14: Successfully access test.com +--- yaml_config +apisix: + node_listen: 1984 + data_encryption: + keyring: + - qeddd145sfvddff3 + - edd1c9f0985e76a1 --- exec -curl -k --resolve "test2.com:1994:127.0.0.1" https://test2.com:1994/hello 2>&1 | cat +curl -k -s --resolve "test2.com:1994:127.0.0.1" https://test2.com:1994/hello 2>&1 | cat --- response_body hello world === TEST 15: Successfully access test2.com +--- yaml_config +apisix: + node_listen: 1984 + data_encryption: + keyring: + - qeddd145sfvddff3 + - edd1c9f0985e76a1 --- exec -curl -k --resolve "test2.com:1994:127.0.0.1" https://test2.com:1994/hello 2>&1 | cat +curl -k -s --resolve "test2.com:1994:127.0.0.1" https://test2.com:1994/hello 2>&1 | cat --- response_body hello world -