test_server_connection_refused(unsigned int index ATTR_UNUSED)
{
i_close_fd(&fd_listen);
+
+ test_subprocess_notify_signal_send_parent();
}
/* client */
struct http_client_request *hreq;
struct _connection_refused *ctx;
+ /* wait for the server side to close the socket */
+ test_subprocess_notify_signal_wait(10000);
+
ctx = i_new(struct _connection_refused, 1);
ctx->count = 2;
if (debug)
i_debug("PID=%s", my_pid);
- i_sleep_msecs(100); /* wait a little for server setup */
-
ioloop = io_loop_create();
test_client_run(client_test, client_set);
io_loop_destroy(&ioloop);
{
unsigned int i;
+ test_subprocess_notify_signal_reset();
test_server_init = NULL;
test_server_deinit = NULL;
test_server_input = NULL;