From 24b1008d5634eb0941a6f97743dbbf1f8c353baf Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 24 Jan 2012 12:50:10 +0200 Subject: [PATCH] Remove unnecessary delays from large data transfer unit test --- src/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test.cpp b/src/test.cpp index 23113b12..4226df54 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); -- 2.30.2