You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asio::ip::tcp::socket::receive() does not guarantee that the entire buffer size is received. The test doesn't take that into account, which sometimes causes data to be missing thus failing the test.
The text was updated successfully, but these errors were encountered:
The-EDev
changed the title
TEST_CASE("stream_response") doesn't account for when not the entire buffer is received
TEST_CASE("stream_response") doesn't Work most of the time.
Oct 5, 2021
Update: it seems that the test case does try to account for the buffer size. Something else seems to be causing this error, maybe the fact that the line consuming the headers doesn't?
Unfortunately it is damn near impossible to properly debug this issue since it only happens on CI.
The-EDev
changed the title
TEST_CASE("stream_response") doesn't Work most of the time.
TEST_CASE("stream_response") doesn't work most of the time.
Oct 5, 2021
asio::ip::tcp::socket::receive()
does not guarantee that the entire buffer size is received. The test doesn't take that into account, which sometimes causes data to be missing thus failing the test.The text was updated successfully, but these errors were encountered: