Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lhanjian committed Dec 20, 2024
1 parent 3aa41c2 commit 26dc2a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/02-integration/09-hybrid_mode/11-status_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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)
Expand Down

0 comments on commit 26dc2a4

Please sign in to comment.