Skip to content

Commit

Permalink
setenv in 20-wasm/10-wasmtime_spec.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Sep 27, 2024
1 parent d3222af commit c558251
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/02-integration/20-wasm/10-wasmtime_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ describe("#wasm wasmtime (role: " .. role .. ")", function()
local cp_prefix = "./wasm-cp"

lazy_setup(function()
helpers.setenv("KONG_CLUSTER_INCREMENTAL_SYNC", inc_sync)

if role == "traditional" then
helpers.get_db_utils("postgres")
end
Expand Down Expand Up @@ -130,6 +132,8 @@ describe("#wasm wasmtime (role: " .. role .. ")", function()
if role == "data_plane" then
helpers.stop_kong(cp_prefix)
end

helpers.unsetenv("KONG_CLUSTER_INCREMENTAL_SYNC")
end)

it("does not introduce any errors", function()
Expand Down

0 comments on commit c558251

Please sign in to comment.