From f8d04d77b55a2a726e6674086fb786c216ee1edb Mon Sep 17 00:00:00 2001 From: Water-Melon Date: Fri, 8 Mar 2024 11:07:00 +0000 Subject: [PATCH] remove prefix directory for 3.3 --- spec/02-integration/02-cmd/03-reload_spec.lua | 4 ++-- .../04-admin_api/17-foreign-entity_spec.lua | 2 +- .../05-proxy/04-plugins_triggering_spec.lua | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/spec/02-integration/02-cmd/03-reload_spec.lua b/spec/02-integration/02-cmd/03-reload_spec.lua index 11fc20f9d82..8b75204ebdd 100644 --- a/spec/02-integration/02-cmd/03-reload_spec.lua +++ b/spec/02-integration/02-cmd/03-reload_spec.lua @@ -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() @@ -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 diff --git a/spec/02-integration/04-admin_api/17-foreign-entity_spec.lua b/spec/02-integration/04-admin_api/17-foreign-entity_spec.lua index 5c5ab4c358c..fe67c492a23 100644 --- a/spec/02-integration/04-admin_api/17-foreign-entity_spec.lua +++ b/spec/02-integration/04-admin_api/17-foreign-entity_spec.lua @@ -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() diff --git a/spec/02-integration/05-proxy/04-plugins_triggering_spec.lua b/spec/02-integration/05-proxy/04-plugins_triggering_spec.lua index 2b6cd16c35e..5b2219f32a5 100644 --- a/spec/02-integration/05-proxy/04-plugins_triggering_spec.lua +++ b/spec/02-integration/05-proxy/04-plugins_triggering_spec.lua @@ -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") @@ -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() @@ -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") @@ -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() @@ -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() @@ -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()