From 2bb00ebfaad3c84726437dae2689e2b45a0507d2 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Mon, 12 Feb 2018 19:12:35 +0100 Subject: [PATCH] test-cleanup: bind any port The meson test suite runs tests in parallel, trying to bind a single port made the test fail. --- tests/test-cleanup.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.7.4