Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: tzssangglass <[email protected]>
  • Loading branch information
tzssangglass committed Nov 8, 2024
1 parent 5f647fd commit 97b4fa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/02-integration/02-cmd/17-unready_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ for _, strategy in helpers.each_strategy() do
end

for _, strategy in helpers.each_strategy({"postgres"}) do
describe("kong unready in hybrid mode", function()
describe("kong unready in hybrid mode #" .. strategy, function()
local bp = helpers.get_db_utils(strategy, {
"services",
})
Expand Down Expand Up @@ -192,7 +192,6 @@ for _, strategy in helpers.each_strategy({"postgres"}) do
prefix = "serve_cp",
cluster_listen = "127.0.0.1:9005",
nginx_conf = "spec/fixtures/custom_nginx.template",

status_listen = "127.0.0.1:" .. cp_status_port
}))
end)
Expand Down Expand Up @@ -221,6 +220,7 @@ for _, strategy in helpers.each_strategy({"postgres"}) do
-- set dp to unready
local ok, err, msg = helpers.kong_exec("unready --prefix serve_dp", {
prefix = helpers.test_conf.prefix,
database = "off",
})
assert.equal("", err)
assert.equal("Kong's status successfully changed to 'unready'\n", msg)
Expand Down

0 comments on commit 97b4fa5

Please sign in to comment.