projects
/
platform
/
upstream
/
gst-rtsp-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd96202
)
test-cleanup: bind any port
author
Mathieu Duponchelle
<mathieu@centricular.com>
Mon, 12 Feb 2018 18:12:35 +0000
(19:12 +0100)
committer
Mathieu Duponchelle
<mathieu@centricular.com>
Mon, 12 Feb 2018 18:12:35 +0000
(19:12 +0100)
The meson test suite runs tests in parallel, trying to bind
a single port made the test fail.
tests/test-cleanup.c
patch
|
blob
|
history
diff --git
a/tests/test-cleanup.c
b/tests/test-cleanup.c
index
aa0d3a4
..
e0bf023
100644
(file)
--- 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;