Skip to content

Commit

Permalink
skip 11-correlation-id/02-schema_spec.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Sep 27, 2024
1 parent a74640f commit 917c2d6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spec/03-plugins/11-correlation-id/02-schema_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -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({
Expand All @@ -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)

Expand Down Expand Up @@ -182,4 +186,5 @@ describe("Plugin: correlation-id (schema) #a [#" .. strategy .."]", function()
proxy_client:close()
end)
end)
end -- for inc_sync
end)

0 comments on commit 917c2d6

Please sign in to comment.