Skip to content

Commit

Permalink
update reload_flavor()
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Aug 22, 2024
1 parent 7e2bcf4 commit c646583
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/01-unit/19-hybrid/03-compat_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions spec/02-integration/05-proxy/01-proxy_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions spec/02-integration/05-proxy/06-ssl_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions spec/02-integration/05-proxy/18-upstream_tls_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions spec/02-integration/05-proxy/19-grpc_proxy_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions spec/02-integration/05-proxy/23-context_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions spec/02-integration/05-proxy/26-udp_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c646583

Please sign in to comment.