aboutsummaryrefslogtreecommitdiff
path: root/test/test-tcp-bind-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-tcp-bind-error.c')
-rw-r--r--test/test-tcp-bind-error.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test-tcp-bind-error.c b/test/test-tcp-bind-error.c
index 5c3be70a..03cf42ef 100644
--- a/test/test-tcp-bind-error.c
+++ b/test/test-tcp-bind-error.c
@@ -59,7 +59,7 @@ TEST_IMPL(tcp_bind_error_addrinuse) {
uv_close((uv_handle_t*)&server1, close_cb);
uv_close((uv_handle_t*)&server2, close_cb);
- uv_run(uv_default_loop());
+ uv_run(uv_default_loop(), UV_RUN_DEFAULT);
ASSERT(close_cb_called == 2);
@@ -84,7 +84,7 @@ TEST_IMPL(tcp_bind_error_addrnotavail_1) {
uv_close((uv_handle_t*)&server, close_cb);
- uv_run(uv_default_loop());
+ uv_run(uv_default_loop(), UV_RUN_DEFAULT);
ASSERT(close_cb_called == 1);
@@ -106,7 +106,7 @@ TEST_IMPL(tcp_bind_error_addrnotavail_2) {
uv_close((uv_handle_t*)&server, close_cb);
- uv_run(uv_default_loop());
+ uv_run(uv_default_loop(), UV_RUN_DEFAULT);
ASSERT(close_cb_called == 1);
@@ -132,7 +132,7 @@ TEST_IMPL(tcp_bind_error_fault) {
uv_close((uv_handle_t*)&server, close_cb);
- uv_run(uv_default_loop());
+ uv_run(uv_default_loop(), UV_RUN_DEFAULT);
ASSERT(close_cb_called == 1);
@@ -159,7 +159,7 @@ TEST_IMPL(tcp_bind_error_inval) {
uv_close((uv_handle_t*)&server, close_cb);
- uv_run(uv_default_loop());
+ uv_run(uv_default_loop(), UV_RUN_DEFAULT);
ASSERT(close_cb_called == 1);