Skip to content

Commit

Permalink
remove prefix directory for 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Mar 8, 2024
1 parent 91713d6 commit f8d04d7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions spec/02-integration/02-cmd/03-reload_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe("kong reload #" .. strategy, function()
helpers.clean_prefix()
end)
after_each(function()
helpers.stop_kong(nil, true)
helpers.stop_kong()
end)

it("send a 'reload' signal to a running Nginx master process", function()
Expand Down Expand Up @@ -587,7 +587,7 @@ describe("key-auth plugin invalidation on dbless reload #off", function()

finally(function()
os.remove(yaml_file)
helpers.stop_kong(helpers.test_conf.prefix, true)
helpers.stop_kong(helpers.test_conf.prefix)
if admin_client then
admin_client:close()
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ for _, strategy in helpers.each_strategy() do
end)

lazy_teardown(function()
helpers.stop_kong(nil, true)
helpers.stop_kong()
end)

before_each(function()
Expand Down
12 changes: 6 additions & 6 deletions spec/02-integration/05-proxy/04-plugins_triggering_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ for _, strategy in helpers.each_strategy() do
proxy_client:close()
end

helpers.stop_kong(nil, true)
helpers.stop_kong()
db:truncate("routes")
db:truncate("services")
db:truncate("consumers")
Expand Down Expand Up @@ -405,7 +405,7 @@ for _, strategy in helpers.each_strategy() do

os.remove(FILE_LOG_PATH)

helpers.stop_kong(nil, true)
helpers.stop_kong()
end)

before_each(function()
Expand Down Expand Up @@ -516,7 +516,7 @@ for _, strategy in helpers.each_strategy() do
proxy_client:close()
end

helpers.stop_kong(nil, true)
helpers.stop_kong()

db:truncate("routes")
db:truncate("services")
Expand Down Expand Up @@ -563,7 +563,7 @@ for _, strategy in helpers.each_strategy() do
proxy_client:close()
end

helpers.stop_kong(nil, true)
helpers.stop_kong()
end)

it("runs without causing an internal error", function()
Expand Down Expand Up @@ -1117,7 +1117,7 @@ for _, strategy in helpers.each_strategy() do
proxy_client:close()
end

helpers.stop_kong(nil, true)
helpers.stop_kong()
end)

it("is executed", function()
Expand Down Expand Up @@ -1191,7 +1191,7 @@ for _, strategy in helpers.each_strategy() do
admin_client:close()
end

helpers.stop_kong(nil, true)
helpers.stop_kong()
end)

it("is executed", function()
Expand Down

0 comments on commit f8d04d7

Please sign in to comment.