[Spice-devel] [PATCH spice-server 2/5] test-leaks: Avoid clashing with test-display-base ports
Eduardo Lima (Etrunko)
etrunko at redhat.com
Fri Nov 16 16:33:33 UTC 2018
On 11/11/18 7:31 AM, Frediano Ziglio wrote:
> 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",
>
Acked-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
--
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com
More information about the Spice-devel
mailing list