Commit 8ba30160 authored by Patrick Griffis's avatar Patrick Griffis

server-test: Handle do_fd_import_test() being flaky

parent be7faf62
Pipeline #219825 failed with stages
in 1 minute and 17 seconds
......@@ -711,11 +711,9 @@ do_fd_import_test (void)
soup_uri_free (uri);
soup_test_server_quit_unref (server);
/* @server should have closed our socket, although @gsock doesn't
* know this.
/* @server should have closed our socket, note the specific error isn't reliable */
g_socket_get_option (gsock, SOL_SOCKET, SO_TYPE, &type, &error);
g_assert_error (error, G_IO_ERROR, G_IO_ERROR_FAILED);
g_assert_nonnull (error);
g_clear_error (&error);
g_object_unref (gsock);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment