mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Merge branch 'gsocketclient-test-fix' into 'main'
Fix gsocketclient-slow test on FreeBSD See merge request GNOME/glib!4130
This commit is contained in:
commit
9e498da9bb
@ -212,6 +212,9 @@ test_connection_failed (void)
|
||||
g_assert_no_error (local_error);
|
||||
|
||||
/* reserve a port without listening so we know that connecting to it will fail */
|
||||
g_object_unref (address);
|
||||
address = g_socket_get_local_address (socket, &local_error);
|
||||
g_assert_no_error (local_error);
|
||||
port = g_inet_socket_address_get_port (G_INET_SOCKET_ADDRESS (address));
|
||||
|
||||
client = g_socket_client_new ();
|
||||
|
Loading…
Reference in New Issue
Block a user