From 26dc2a4c717e36471e2c3027b11f35248c0579a7 Mon Sep 17 00:00:00 2001 From: lhanjian Date: Fri, 20 Dec 2024 17:08:00 +0800 Subject: [PATCH] update --- spec/02-integration/09-hybrid_mode/11-status_spec.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/02-integration/09-hybrid_mode/11-status_spec.lua b/spec/02-integration/09-hybrid_mode/11-status_spec.lua index 34252115a893..a6dcc45bf2eb 100644 --- a/spec/02-integration/09-hybrid_mode/11-status_spec.lua +++ b/spec/02-integration/09-hybrid_mode/11-status_spec.lua @@ -160,7 +160,8 @@ for _, strategy in helpers.each_strategy() do end) end) - describe("dp status ready when rpc_sync == on", function() + local describe_rpc_sync_on = rpc == "on" and rpc_sync == "on" and describe or pending + describe_rpc_sync_on("dp status ready when rpc_sync == on", function() lazy_setup(function() assert(start_kong_cp()) assert(start_kong_dp()) @@ -171,8 +172,7 @@ for _, strategy in helpers.each_strategy() do assert(helpers.stop_kong("serve_dp")) end) - local it_rpc_sync_on = rpc == "on" and rpc_sync == "on" and it or pending - it_rpc_sync_on("should return 200 on data plane after configuring when rpc_sync == on", function() + it("should return 200 on data plane after configuring when rpc_sync == on", function() -- insert one entity to make dp ready for incremental sync local http_client = helpers.http_client('127.0.0.1', dp_status_port)