test-leaks: Avoid clashing with test-display-base ports

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@redhat.com>
Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
Frediano Ziglio 2018-11-10 10:50:52 +00:00
parent 1bad26b663
commit 96160ae50c

View File

@ -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",