Skip to content

Commit

Permalink
tests(clustering/rpc): enable rpc sync for config compat
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Feb 6, 2025
1 parent 55e4ff5 commit 13cc1a6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/02-integration/09-hybrid_mode/09-config-compat_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ local function get_sync_status(id)
end


-- XXX TODO: helpers.clustering_client supports rpc sync
for _, rpc_sync in ipairs { "off" } do
for _, v in ipairs({ {"off", "off"}, {"on", "off"}, {"on", "on"}, }) do
local rpc, rpc_sync = v[1], v[2]

for _, strategy in helpers.each_strategy() do

describe("CP/DP config compat transformations #" .. strategy, function()
Expand All @@ -103,6 +104,7 @@ describe("CP/DP config compat transformations #" .. strategy, function()
cluster_listen = CP_HOST .. ":" .. CP_PORT,
nginx_conf = "spec/fixtures/custom_nginx.template",
plugins = "bundled",
cluster_rpc= rpc,
cluster_rpc_sync = rpc_sync,
}))
end)
Expand Down

0 comments on commit 13cc1a6

Please sign in to comment.