From 24b1008d5634eb0941a6f97743dbbf1f8c353baf Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 24 Jan 2012 12:50:10 +0200 Subject: Remove unnecessary delays from large data transfer unit test --- src/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/test.cpp b/src/test.cpp index 23113b123..4226df544 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -1201,7 +1201,7 @@ struct TestConnection server.Send(peer_id_client, 0, data1, true); - sleep_ms(3000); + //sleep_ms(3000); SharedBuffer recvdata; infostream<<"** running client.Receive()"< 5000) + if(porting::getTimeMs() - timems0 > 5000 || received) break; try{ size = client.Receive(peer_id, recvdata); -- cgit v1.2.3