diff --git a/spec/02-integration/20-wasm/06-clustering_spec.lua b/spec/02-integration/20-wasm/06-clustering_spec.lua index 9e36d4dce66..4d5a63e323d 100644 --- a/spec/02-integration/20-wasm/06-clustering_spec.lua +++ b/spec/02-integration/20-wasm/06-clustering_spec.lua @@ -237,7 +237,7 @@ describe("#wasm - hybrid mode #postgres" .. " inc_sync=" .. inc_sync, function() res:read_body() if res.status ~= 200 then - return { + return nil, { msg = "bad http status", exp = 200, got = res.status, @@ -269,7 +269,7 @@ describe("#wasm - hybrid mode #postgres" .. " inc_sync=" .. inc_sync, function() res:read_body() if res.status ~= 200 then - return { + return nil, { msg = "bad http status", exp = 200, got = res.status,