From: Perttu Ahola Date: Tue, 24 Jan 2012 10:50:10 +0000 (+0200) Subject: Remove unnecessary delays from large data transfer unit test X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=24b1008d5634eb0941a6f97743dbbf1f8c353baf;p=zefram%2Fminetest%2Fminetest_engine.git Remove unnecessary delays from large data transfer unit test --- 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);