From: Mathieu Duponchelle Date: Mon, 12 Feb 2018 18:12:35 +0000 (+0100) Subject: test-cleanup: bind any port X-Git-Tag: 1.19.3~495^2~329 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2bb00ebfaad3c84726437dae2689e2b45a0507d2;p=platform%2Fupstream%2Fgstreamer.git test-cleanup: bind any port The meson test suite runs tests in parallel, trying to bind a single port made the test fail. --- diff --git a/tests/test-cleanup.c b/tests/test-cleanup.c index aa0d3a4..e0bf023 100644 --- a/tests/test-cleanup.c +++ b/tests/test-cleanup.c @@ -43,6 +43,9 @@ main (int argc, char *argv[]) /* create a server instance */ server = gst_rtsp_server_new (); + /* We just want to bind any port here, so that tests can run in parallel */ + gst_rtsp_server_set_service (server, "0"); + /* attach the server to the default maincontext */ if ((id = gst_rtsp_server_attach (server, NULL)) == 0) goto failed;