Skip to content

Commit

Permalink
tests(wasm): fix some eventual assertions
Browse files Browse the repository at this point in the history
These checks using assert.eventually() could have yielded a false
positive under certain conditions.
  • Loading branch information
flrgh committed Dec 9, 2024
1 parent 88ffdda commit 9951dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/02-integration/20-wasm/06-clustering_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 9951dcf

Please sign in to comment.