Skip to content

Commit

Permalink
chore(wasm): testing Kong/ngx_wasm_module#546
Browse files Browse the repository at this point in the history
  • Loading branch information
flrgh committed Jun 10, 2024
1 parent fd994be commit 2602285
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .requirements
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions kong/runloop/wasm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
4 changes: 4 additions & 0 deletions spec/02-integration/20-wasm/01-admin-api_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 2602285

Please sign in to comment.