diff --git a/spec/01-unit/19-hybrid/03-compat_spec.lua b/spec/01-unit/19-hybrid/03-compat_spec.lua index b2e16b071134..52d6ec83e251 100644 --- a/spec/01-unit/19-hybrid/03-compat_spec.lua +++ b/spec/01-unit/19-hybrid/03-compat_spec.lua @@ -650,6 +650,7 @@ describe("kong.clustering.compat", function() package.loaded["kong.db.schema.entities.routes"] = nil package.loaded["kong.db.schema.entities.routes_subschemas"] = nil package.loaded["spec.helpers"] = nil + package.loaded["spec.details.misc"] = nil package.loaded["kong.clustering.compat"] = nil package.loaded["kong.db.declarative"] = nil diff --git a/spec/02-integration/05-proxy/01-proxy_spec.lua b/spec/02-integration/05-proxy/01-proxy_spec.lua index 6192d3ab4e64..7a81e3b78e03 100644 --- a/spec/02-integration/05-proxy/01-proxy_spec.lua +++ b/spec/02-integration/05-proxy/01-proxy_spec.lua @@ -151,6 +151,7 @@ local function reload_router(flavor) helpers.setenv("KONG_ROUTER_FLAVOR", flavor) package.loaded["spec.helpers"] = nil + package.loaded["spec.details.misc"] = nil package.loaded["kong.global"] = nil package.loaded["kong.cache"] = nil package.loaded["kong.db"] = nil diff --git a/spec/02-integration/05-proxy/06-ssl_spec.lua b/spec/02-integration/05-proxy/06-ssl_spec.lua index 770300354419..ca85e0bac4a7 100644 --- a/spec/02-integration/05-proxy/06-ssl_spec.lua +++ b/spec/02-integration/05-proxy/06-ssl_spec.lua @@ -43,6 +43,7 @@ local function reload_router(flavor) helpers.setenv("KONG_ROUTER_FLAVOR", flavor) package.loaded["spec.helpers"] = nil + package.loaded["spec.details.misc"] = nil package.loaded["kong.global"] = nil package.loaded["kong.cache"] = nil package.loaded["kong.db"] = nil diff --git a/spec/02-integration/05-proxy/10-balancer/06-stream_spec.lua b/spec/02-integration/05-proxy/10-balancer/06-stream_spec.lua index b898979d6ed4..610a6914bd91 100644 --- a/spec/02-integration/05-proxy/10-balancer/06-stream_spec.lua +++ b/spec/02-integration/05-proxy/10-balancer/06-stream_spec.lua @@ -11,6 +11,7 @@ local function reload_router(flavor) helpers.setenv("KONG_ROUTER_FLAVOR", flavor) package.loaded["spec.helpers"] = nil + package.loaded["spec.details.misc"] = nil package.loaded["kong.global"] = nil package.loaded["kong.cache"] = nil package.loaded["kong.db"] = nil diff --git a/spec/02-integration/05-proxy/18-upstream_tls_spec.lua b/spec/02-integration/05-proxy/18-upstream_tls_spec.lua index 13789ccdaee8..30c8eec05b0a 100644 --- a/spec/02-integration/05-proxy/18-upstream_tls_spec.lua +++ b/spec/02-integration/05-proxy/18-upstream_tls_spec.lua @@ -84,6 +84,7 @@ local function reload_router(flavor) helpers.setenv("KONG_ROUTER_FLAVOR", flavor) package.loaded["spec.helpers"] = nil + package.loaded["spec.details.misc"] = nil package.loaded["kong.global"] = nil package.loaded["kong.cache"] = nil package.loaded["kong.db"] = nil diff --git a/spec/02-integration/05-proxy/19-grpc_proxy_spec.lua b/spec/02-integration/05-proxy/19-grpc_proxy_spec.lua index bc578ffd744e..8523d6a0d864 100644 --- a/spec/02-integration/05-proxy/19-grpc_proxy_spec.lua +++ b/spec/02-integration/05-proxy/19-grpc_proxy_spec.lua @@ -15,6 +15,7 @@ local function reload_router(flavor) helpers.setenv("KONG_ROUTER_FLAVOR", flavor) package.loaded["spec.helpers"] = nil + package.loaded["spec.details.misc"] = nil package.loaded["kong.global"] = nil package.loaded["kong.cache"] = nil package.loaded["kong.db"] = nil diff --git a/spec/02-integration/05-proxy/21-grpc_plugins_triggering_spec.lua b/spec/02-integration/05-proxy/21-grpc_plugins_triggering_spec.lua index daaedb55d92c..39f171e8cea4 100644 --- a/spec/02-integration/05-proxy/21-grpc_plugins_triggering_spec.lua +++ b/spec/02-integration/05-proxy/21-grpc_plugins_triggering_spec.lua @@ -15,6 +15,7 @@ local function reload_router(flavor) helpers.setenv("KONG_ROUTER_FLAVOR", flavor) package.loaded["spec.helpers"] = nil + package.loaded["spec.details.misc"] = nil package.loaded["kong.global"] = nil package.loaded["kong.cache"] = nil package.loaded["kong.db"] = nil diff --git a/spec/02-integration/05-proxy/23-context_spec.lua b/spec/02-integration/05-proxy/23-context_spec.lua index f5e82e9e45ef..bb97388e2015 100644 --- a/spec/02-integration/05-proxy/23-context_spec.lua +++ b/spec/02-integration/05-proxy/23-context_spec.lua @@ -12,6 +12,7 @@ local function reload_router(flavor) helpers.setenv("KONG_ROUTER_FLAVOR", flavor) package.loaded["spec.helpers"] = nil + package.loaded["spec.details.misc"] = nil package.loaded["kong.global"] = nil package.loaded["kong.cache"] = nil package.loaded["kong.db"] = nil diff --git a/spec/02-integration/05-proxy/26-udp_spec.lua b/spec/02-integration/05-proxy/26-udp_spec.lua index f0e342938223..0941a6a12e37 100644 --- a/spec/02-integration/05-proxy/26-udp_spec.lua +++ b/spec/02-integration/05-proxy/26-udp_spec.lua @@ -14,6 +14,7 @@ local function reload_router(flavor) helpers.setenv("KONG_ROUTER_FLAVOR", flavor) package.loaded["spec.helpers"] = nil + package.loaded["spec.details.misc"] = nil package.loaded["kong.global"] = nil package.loaded["kong.cache"] = nil package.loaded["kong.db"] = nil diff --git a/spec/02-integration/05-proxy/28-stream_plugins_triggering_spec.lua b/spec/02-integration/05-proxy/28-stream_plugins_triggering_spec.lua index 3bab5d24f02f..5e5014773185 100644 --- a/spec/02-integration/05-proxy/28-stream_plugins_triggering_spec.lua +++ b/spec/02-integration/05-proxy/28-stream_plugins_triggering_spec.lua @@ -84,6 +84,7 @@ local function reload_router(flavor) helpers.setenv("KONG_ROUTER_FLAVOR", flavor) package.loaded["spec.helpers"] = nil + package.loaded["spec.details.misc"] = nil package.loaded["kong.global"] = nil package.loaded["kong.cache"] = nil package.loaded["kong.db"] = nil