[Spice-devel] [PATCH spice-server 2/5] test-leaks: Avoid clashing with test-display-base ports

Frediano Ziglio fziglio at redhat.com
Sun Nov 11 09:31:29 UTC 2018


Is possible that port 5913 is already in use as tests that uses
test_new will attempt to use ports from 5912 to 5921 so use a port
not in that range.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/tests/test-leaks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/tests/test-leaks.c b/server/tests/test-leaks.c
index 41734c57..64130c22 100644
--- a/server/tests/test-leaks.c
+++ b/server/tests/test-leaks.c
@@ -50,7 +50,7 @@ static void server_leaks(void)
     core = basic_event_loop_init();
     g_assert_nonnull(core);
 
-    result = spice_server_set_tls(server, 5913,
+    result = spice_server_set_tls(server, 5922,
                                   PKI_DIR "ca-cert.pem",
                                   PKI_DIR "server-cert.pem",
                                   PKI_DIR "server-key.pem",
-- 
2.17.2



More information about the Spice-devel mailing list