gstreamer/tests/check/elements
Tim-Philipp Müller 46aa47440f tests: multisocketsink: fix flaky unit test
On slower systems, or under high system load (e.g. check-valgrind),
the sending_buffers_with_9_gstmemories test would sometimes fail,
because the read call only returns 32 bytes instead of the full
36 bytes expected. This is because multisocketsink might end up
doing a partial write of 32 bytes first, and then write the
missing 4 bytes later, but since we don't wait for all of data
to be written, there's a short window where our read call in the
unit test might then only receive the 32 bytes written so far,
which makes it deeply unhappy.

Instead, make sure we loop to read all bytes.
2015-04-05 12:59:11 +01:00
..
.gitignore check: Update .gitignore 2013-08-13 17:39:34 +02:00
adder.c test : fix leaks in adder unit test 2014-11-05 18:08:44 +00:00
appsink.c tests: Fix event order and missing events 2013-05-10 12:29:15 +02:00
appsrc.c tests: Add missing unrefs of objects after use 2014-08-06 15:18:56 +02:00
audioconvert.c audioconvert: Fix leaks in unit test 2014-04-15 13:03:34 +02:00
audiorate.c tests: Fix event order and missing events 2013-05-10 12:29:15 +02:00
audioresample.c audioresample: Fix memory leaks in test 2014-04-15 19:31:28 +02:00
audiotestsrc.c Fix FSF address 2012-11-03 23:05:09 +00:00
decodebin.c decodebin: aggregate buffering messages 2014-05-29 18:59:30 -03:00
encodebin.c encodebin: delay missing encoder error as passthrough is still possible 2014-08-11 10:30:58 -03:00
libvisual.c Fix FSF address 2012-11-03 23:05:09 +00:00
multifdsink.c tests: Fix event order and missing events 2013-05-10 12:29:15 +02:00
multisocketsink.c tests: multisocketsink: fix flaky unit test 2015-04-05 12:59:11 +01:00
playbin-complex.c tests: fix playbin-complex test on big endian 2014-10-24 13:09:42 +01:00
playbin.c playbin: Fix unit test for last change 2014-07-21 09:35:36 +02:00
streamsynchronizer.c tests: fix race in streamsynchronizer test 2013-11-12 19:03:19 +00:00
subparse.c subparse: Add unit test for LRC subtitles 2013-12-18 15:52:53 +01:00
textoverlay.c tests: textoverlay: add test to reproduce fakesink scenario 2014-09-01 15:25:56 -03:00
videoconvert.c videoconvert: Fix compiler warning in unit test 2014-02-08 17:11:04 +01:00
videorate.c videorate: fix a couple of memory leaks 2015-04-04 00:49:21 +01:00
videoscale.c videoscale: Fix compiler warning in unit test 2014-02-08 17:11:54 +01:00
videotestsrc.c videotestsrc: Fix memory leak in test 2014-04-15 13:54:45 +02:00
volume.c tests: Fix event order and missing events 2013-05-10 12:29:15 +02:00
vorbisdec.c tests: Fix event order and missing events 2013-05-10 12:29:15 +02:00
vorbistag.c tests: Fix event order and missing events 2013-05-10 12:29:15 +02:00