GNOME Bugzilla – Bug 696542
tests: remove extra unref in test_setup_non_existing_stream
Last modified: 2014-02-25 22:28:59 UTC
Created attachment 239737 [details] [review] Remove extra unref In rtspserver unit tests, there is an extra server unref at the end of test_setup_non_existing_stream, which is not needed (anymore). The unref was added because, at the time of writing, the test didn't complete without it. The attached suggested patch removes the extra unref. This method can be used for checking that the test completes with the patch: GST_DEBUG=check:7 GST_CHECKS=test_setup_non_existing_stream make -C tests/check gst/rtspserver.check At the end of the output, gstcheck prints "cleaning up tasks", which means that the test has completed. The server is unreffed in the fixture teardown instead.
Thanks, pushed: commit d728d59a00bbe1084782b048baece2caddd63bfd Author: David Svensson Fors <davidsf@axis.com> Date: Wed Mar 20 12:33:54 2013 +0100 tests: remove extra unref in test_setup_non_existing_stream The unref is not needed anymore, teardown runs without it. https://bugzilla.gnome.org/show_bug.cgi?id=696542