[Bug 786799] fix udpsrc unit test

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Dec 9 16:12:11 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=786799

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.13.1

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Hilarious :)

commit 33bddfe321d6c781e69bf4e29a71ddf381c6ada7
Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Fri Aug 25 15:19:37 2017 +0300

    tests: udpsrc: verify the correct amount of bytes is sent to the socket

    https://bugzilla.gnome.org/show_bug.cgi?id=786799

commit ea7d2a0257ff344b3e2a53738890efc5efaebef2
Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Fri Aug 25 14:59:06 2017 +0300

    tests: udpsrc: ensure test won't timeout if the buffers are already
received

    Sometimes all the buffers are received before the time we lock the
    check_mutex, in which case g_cond_wait will wait forever for another
    one. Just check if this is the case before waiting.

    https://bugzilla.gnome.org/attachment.cgi?id=358397

commit 45c82ee79823dc7ee3db691ac23cf325c0091756
Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Fri Aug 25 14:45:52 2017 +0300

    tests: udpsrc: fix test_udpsrc to actually run and fix locking

    Previously this would silently be skipped because 1600 != 1400
    and there is no assertion on this call.

    Also unlock check_mutex after use.

    https://bugzilla.gnome.org/show_bug.cgi?id=786799

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list