tests: plugin: remove feature refcount assert
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 10 May 2016 09:06:42 +0000 (11:06 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 2 Jun 2016 22:05:34 +0000 (23:05 +0100)
This check fails if one, or more, tracers are loaded while running the
test. The new "leaks" tracer will be able to check for leaks anyway.

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

tests/check/gst/gstplugin.c

index bb710d5..cb4f17d 100644 (file)
@@ -75,7 +75,6 @@ GST_START_TEST (test_registry)
     /* one for the registry, one for the list */
     GST_DEBUG ("Feature refcount %d %s", GST_OBJECT_REFCOUNT_VALUE (feature),
         GST_OBJECT_NAME (feature));
-    ASSERT_OBJECT_REFCOUNT (feature, "feature in registry", 2);
     gst_object_unref (feature);
   }
   g_list_free (list);