From b4f1c20143ac3486b38fe0f5a5ac0dbd5d6b7f86 Mon Sep 17 00:00:00 2001 From: Xumin <100666470+StarlightIbuki@users.noreply.github.com> Date: Fri, 22 Nov 2024 16:01:23 +0800 Subject: [PATCH] tests(sync): temporarily disable incremental sync tests (#13906) --- spec/02-integration/07-sdk/03-cluster_spec.lua | 3 ++- spec/02-integration/09-hybrid_mode/03-pki_spec.lua | 3 ++- spec/02-integration/09-hybrid_mode/04-cp_cluster_sync_spec.lua | 3 ++- spec/02-integration/09-hybrid_mode/05-ocsp_spec.lua | 3 ++- spec/02-integration/09-hybrid_mode/08-lazy_export_spec.lua | 3 ++- spec/02-integration/09-hybrid_mode/13-deprecations_spec.lua | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/spec/02-integration/07-sdk/03-cluster_spec.lua b/spec/02-integration/07-sdk/03-cluster_spec.lua index 55d27beb732..4ebfe247f84 100644 --- a/spec/02-integration/07-sdk/03-cluster_spec.lua +++ b/spec/02-integration/07-sdk/03-cluster_spec.lua @@ -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 diff --git a/spec/02-integration/09-hybrid_mode/03-pki_spec.lua b/spec/02-integration/09-hybrid_mode/03-pki_spec.lua index 0d62713baa8..1de98a89c45 100644 --- a/spec/02-integration/09-hybrid_mode/03-pki_spec.lua +++ b/spec/02-integration/09-hybrid_mode/03-pki_spec.lua @@ -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() diff --git a/spec/02-integration/09-hybrid_mode/04-cp_cluster_sync_spec.lua b/spec/02-integration/09-hybrid_mode/04-cp_cluster_sync_spec.lua index da00efcf6d8..0a77b71b864 100644 --- a/spec/02-integration/09-hybrid_mode/04-cp_cluster_sync_spec.lua +++ b/spec/02-integration/09-hybrid_mode/04-cp_cluster_sync_spec.lua @@ -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() diff --git a/spec/02-integration/09-hybrid_mode/05-ocsp_spec.lua b/spec/02-integration/09-hybrid_mode/05-ocsp_spec.lua index 254b09555f8..a3504127f39 100644 --- a/spec/02-integration/09-hybrid_mode/05-ocsp_spec.lua +++ b/spec/02-integration/09-hybrid_mode/05-ocsp_spec.lua @@ -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() diff --git a/spec/02-integration/09-hybrid_mode/08-lazy_export_spec.lua b/spec/02-integration/09-hybrid_mode/08-lazy_export_spec.lua index b4fedacb084..fbc72542aa6 100644 --- a/spec/02-integration/09-hybrid_mode/08-lazy_export_spec.lua +++ b/spec/02-integration/09-hybrid_mode/08-lazy_export_spec.lua @@ -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() diff --git a/spec/02-integration/09-hybrid_mode/13-deprecations_spec.lua b/spec/02-integration/09-hybrid_mode/13-deprecations_spec.lua index 8ddf85e80b3..92d5115dcae 100644 --- a/spec/02-integration/09-hybrid_mode/13-deprecations_spec.lua +++ b/spec/02-integration/09-hybrid_mode/13-deprecations_spec.lua @@ -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"