From 9951dcfcb34720cb6d15d897da0b723d13e25135 Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Mon, 9 Dec 2024 11:27:00 -0800 Subject: [PATCH] tests(wasm): fix some eventual assertions These checks using assert.eventually() could have yielded a false positive under certain conditions. --- spec/02-integration/20-wasm/06-clustering_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,