Skip to content

Commit

Permalink
Revert "tests(sync): temporarily disable incremental sync tests (#13906
Browse files Browse the repository at this point in the history
…)"

This reverts commit b4f1c20.
  • Loading branch information
chronolaw committed Nov 23, 2024
1 parent fa9bed9 commit e82eb7a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
3 changes: 1 addition & 2 deletions spec/02-integration/07-sdk/03-cluster_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ fixtures_cp.http_mock.my_server_block = [[
}
]]

-- TODO: reenable the inc sync test
for _, inc_sync in ipairs { "off" } do
for _, inc_sync in ipairs { "on", "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: 1 addition & 2 deletions spec/02-integration/09-hybrid_mode/03-pki_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ local helpers = require "spec.helpers"
local cjson = require "cjson.safe"


-- TODO: reenable the inc sync test
for _, inc_sync in ipairs { "off" } do
for _, inc_sync in ipairs { "on", "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,8 +20,7 @@ local function find_in_file(filepath, pat)
end


-- TODO: reenable the inc sync test
for _, inc_sync in ipairs { "off" } do
for _, inc_sync in ipairs { "on", "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: 1 addition & 2 deletions spec/02-integration/09-hybrid_mode/05-ocsp_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ local function set_ocsp_status(status)
end


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

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


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

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

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

-- TODO: reenable the inc sync test
for _, inc_sync in ipairs { "off" } do
for _, inc_sync in ipairs { "on", "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 e82eb7a

Please sign in to comment.