From 917c2d608c7ff0adfd35cbe444bd7011296f127c Mon Sep 17 00:00:00 2001 From: chronolaw Date: Fri, 27 Sep 2024 18:22:49 +0800 Subject: [PATCH] skip 11-correlation-id/02-schema_spec.lua --- spec/03-plugins/11-correlation-id/02-schema_spec.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/spec/03-plugins/11-correlation-id/02-schema_spec.lua b/spec/03-plugins/11-correlation-id/02-schema_spec.lua index 8143fae3059a..b02cc906505f 100644 --- a/spec/03-plugins/11-correlation-id/02-schema_spec.lua +++ b/spec/03-plugins/11-correlation-id/02-schema_spec.lua @@ -86,7 +86,9 @@ describe("Plugin: correlation-id (schema) #a [#" .. strategy .."]", function() end) end) - describe("in hybrid mode", function() + --- XXX FIXME: enable inc_sync = on + for _, inc_sync in ipairs { "off" } do + describe("in hybrid mode" .. " inc_sync=" .. inc_sync, function() local route lazy_setup(function() route = bp.routes:insert({ @@ -122,6 +124,7 @@ describe("Plugin: correlation-id (schema) #a [#" .. strategy .."]", function() prefix = "servroot", cluster_listen = "127.0.0.1:9005", nginx_conf = "spec/fixtures/custom_nginx.template", + cluster_incremental_sync = inc_sync, })) assert(helpers.start_kong({ @@ -133,6 +136,7 @@ describe("Plugin: correlation-id (schema) #a [#" .. strategy .."]", function() cluster_control_plane = "127.0.0.1:9005", proxy_listen = "0.0.0.0:9002", status_listen = "127.0.0.1:9100", + cluster_incremental_sync = inc_sync, })) end) @@ -182,4 +186,5 @@ describe("Plugin: correlation-id (schema) #a [#" .. strategy .."]", function() proxy_client:close() end) end) + end -- for inc_sync end)