Skip to content

Commit

Permalink
fix: don't show unsuccessful response warning if there is no response…
Browse files Browse the repository at this point in the history
… (#14891)
  • Loading branch information
lmossman committed Jan 6, 2025
1 parent 30d94ad commit 56af9d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const computeStreamTestResults = (
streamHash,
hasResponse: true,
responsesAreSuccessful: streamRead.slices.every((slice) =>
slice.pages.every((page) => page.response?.status && page.response.status >= 200 && page.response.status < 300)
slice.pages.every((page) => !page.response || (page.response.status >= 200 && page.response.status < 300))
),
hasRecords: streamRead.slices.some((slice) => slice.pages.some((page) => page.records.length > 0)),
...computePrimaryKeyTestResults(streamRead, resolvedTestStream),
Expand Down

0 comments on commit 56af9d8

Please sign in to comment.