diff --git a/.requirements b/.requirements index f53833429d64..e239a30627b5 100644 --- a/.requirements +++ b/.requirements @@ -21,7 +21,7 @@ ATC_ROUTER=ffd11db657115769bf94f0c4f915f98300bc26b6 # 1.6.2 SNAPPY=23b3286820105438c5dbb9bc22f1bb85c5812c8a # 1.2.0 KONG_MANAGER=nightly -NGX_WASM_MODULE=91d447ffd0e9bb08f11cc69d1aa9128ec36b4526 +NGX_WASM_MODULE=98c4572495b70470df5d00deae1cd6461d3aff8a WASMER=3.1.1 WASMTIME=19.0.0 V8=12.0.267.17 diff --git a/kong/runloop/wasm.lua b/kong/runloop/wasm.lua index af9bbc2cbae8..aa352927c9b8 100644 --- a/kong/runloop/wasm.lua +++ b/kong/runloop/wasm.lua @@ -945,13 +945,6 @@ function _M.attach(ctx) return kong.response.error(500) end end - - jit.off(proxy_wasm.start) - ok, err = proxy_wasm.start() - if not ok then - log(CRIT, "failed to execute ", chain.label, " filter chain for request: ", err) - return kong.response.error(500) - end end diff --git a/spec/02-integration/20-wasm/01-admin-api_spec.lua b/spec/02-integration/20-wasm/01-admin-api_spec.lua index 6ca6d75798c1..a613cfd2d14f 100644 --- a/spec/02-integration/20-wasm/01-admin-api_spec.lua +++ b/spec/02-integration/20-wasm/01-admin-api_spec.lua @@ -22,6 +22,8 @@ describe("wasm admin API [#" .. strategy .. "]", function() local service, route lazy_setup(function() + helpers.clean_prefix() + require("kong.runloop.wasm").enable({ { name = "tests", path = FILTER_PATH .. "/tests.wasm", @@ -547,6 +549,8 @@ describe("wasm admin API - wasm = off [#" .. strategy .. "]", function() local service lazy_setup(function() + helpers.clean_prefix() + bp, db = helpers.get_db_utils(strategy, { "routes", "services",