Skip to content

Commit

Permalink
set legacy_dns_client off for some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
chobits committed Jun 18, 2024
1 parent 6978786 commit 8862f9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/01-unit/30-dns-client/04-client_ipc_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe("[dns-client] inter-process communication:",function()
nginx_conf = "spec/fixtures/custom_nginx.template",
plugins = "bundled,dns-client-test",
nginx_main_worker_processes = num_workers,
legacy_dns_client = "off",
}))
end)

Expand Down
1 change: 1 addition & 0 deletions spec/02-integration/04-admin_api/26-dns_client_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ for _, strategy in helpers.each_strategy() do
assert(helpers.start_kong({
database = strategy,
nginx_conf = "spec/fixtures/custom_nginx.template",
legacy_dns_client = "off",
}))

client = helpers.admin_client()
Expand Down

0 comments on commit 8862f9b

Please sign in to comment.