Commit f56f25ab authored by Ole André Vadla Ravnås's avatar Ole André Vadla Ravnås Committed by Olivier Crête

test-io-stream-common: Remove incorrect assertion

We cannot assume that the message will be completely filled even in
reliable mode.
parent e53f16c5
......@@ -497,10 +497,6 @@ validate_received_messages (TestIOStreamThreadData *data, gsize buffer_offset,
g_assert_cmpuint (message->length, ==, 0);
prev_message_len = message->length;
/* If the API was blocking, it should have completely filled the message. */
if (stream_api_is_blocking (test_data->stream_api) && data->reliable)
g_assert_cmpuint (message->length, ==, total_buf_len);
g_assert_true (message->from == NULL);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment