servalproject / serval-dna

The Serval Project's core daemon that implements Distributed Numbering Architecture (DNA), MDP, VoMP, Rhizome, MeshMS, etc.
http://servalproject.org
Other
171 stars 80 forks source link

Test FileTransferUnreliableBigMDP sometimes fails #67

Closed rom1v closed 10 years ago

rom1v commented 11 years ago

tests/rhizomeprotocol number 8 sometimes fails (but not always): Big new bundle over unreliable MDP transport

Here is the log: https://gist.github.com/rom1v/6038722

lakeman commented 11 years ago

I added the test because we saw MDP transfers stalling over packet radio links (mesh extenders...). We need to improve the protocol to pipeline requests for more data instead of relying on packet retransmissions.

For now we should probably reduce the file size for this test so we don't have to wait as long for the transfer to complete.

lakeman commented 10 years ago

This test allows 2 minutes for the transfer to complete, (see e6ce14af) but in the development branch usually completes in around 10 seconds.