aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_bounded_recv_buffer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_bounded_recv_buffer.cpp b/test/test_bounded_recv_buffer.cpp
index a2ec4e1..b092260 100644
--- a/test/test_bounded_recv_buffer.cpp
+++ b/test/test_bounded_recv_buffer.cpp
@@ -116,6 +116,7 @@ struct MyNet: public MsgNetworkByteOp {
fprintf(stderr, "cannot send message, retrying\n");
sleep(1);
}
+ printf("sent message\n");
if (!conn->is_terminated())
tcall.async_call(trigger);
};
@@ -140,7 +141,8 @@ struct MyNet: public MsgNetworkByteOp {
conn->get_pool()->stop();
return;
}
- sleep(1);
+ sleep(5);
+ printf("got message\n");
nrecv++;
}
};