Skip to content

Commit

Permalink
tests(sync): temporarily disable incremental sync tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StarlightIbuki committed Nov 21, 2024
1 parent 7d2f2c1 commit 6714a91
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion spec/02-integration/07-sdk/03-cluster_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ fixtures_cp.http_mock.my_server_block = [[
}
]]

for _, inc_sync in ipairs { "on", "off" } do
-- TODO: reenable the inc sync test
for _, inc_sync in ipairs { "off" } do
for _, strategy in helpers.each_strategy() do
describe("PDK: kong.cluster for #" .. strategy .. " inc_sync=" .. inc_sync, function()
local proxy_client
Expand Down
3 changes: 2 additions & 1 deletion spec/02-integration/09-hybrid_mode/03-pki_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ local helpers = require "spec.helpers"
local cjson = require "cjson.safe"


for _, inc_sync in ipairs { "on", "off" } do
-- TODO: reenable the inc sync test
for _, inc_sync in ipairs { "off" } do
for _, strategy in helpers.each_strategy() do

describe("CP/DP PKI sync #" .. strategy .. " inc_sync=" .. inc_sync, function()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ local function find_in_file(filepath, pat)
end


for _, inc_sync in ipairs { "on", "off" } do
-- TODO: reenable the inc sync test
for _, inc_sync in ipairs { "off" } do
for _, strategy in helpers.each_strategy() do
describe("CP/CP sync works with #" .. strategy .. " inc_sync=" .. inc_sync .. " backend", function()
lazy_setup(function()
Expand Down
3 changes: 2 additions & 1 deletion spec/02-integration/09-hybrid_mode/05-ocsp_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ local function set_ocsp_status(status)
end


for _, inc_sync in ipairs { "on", "off" } do
-- TODO: reenable the inc sync test
for _, inc_sync in ipairs { "off" } do
for _, strategy in helpers.each_strategy() do

describe("cluster_ocsp = on works #" .. strategy .. " inc_sync=" .. inc_sync, function()
Expand Down
3 changes: 2 additions & 1 deletion spec/02-integration/09-hybrid_mode/08-lazy_export_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ local function json_dp(inc_sync)
end


for _, inc_sync in ipairs { "on", "off" } do
-- TODO: reenable the inc sync test
for _, inc_sync in ipairs { "off" } do
for _, strategy in helpers.each_strategy() do

describe("lazy_export with #".. strategy .. " inc_sync=" .. inc_sync, function()
Expand Down
3 changes: 2 additions & 1 deletion spec/02-integration/09-hybrid_mode/13-deprecations_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ local join = require("pl.stringx").join

local ENABLED_PLUGINS = { "dummy" , "reconfiguration-completion"}

for _, inc_sync in ipairs { "on", "off" } do
-- TODO: reenable the inc sync test
for _, inc_sync in ipairs { "off" } do
for _, strategy in helpers.each_strategy({"postgres"}) do
describe("deprecations are not reported on DP but on CP " .. " inc_sync=" .. inc_sync, function()
local cp_prefix = "servroot1"
Expand Down

0 comments on commit 6714a91

Please sign in to comment.