]> Sergey Matveev's repositories - btrtrc.git/commit
Fix transfer test check for seeder piece counts
authorMatt Joiner <anacrolix@gmail.com>
Fri, 17 Apr 2020 01:40:03 +0000 (11:40 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Fri, 17 Apr 2020 01:40:25 +0000 (11:40 +1000)
commit013fa1df5a5d4bcf3aa66f490d06ffb1c80fb036
treeb699bf17aa1f9a99bbd1a79bd3399e553d82b688
parentdad28e674e2b11e4091618876a4575b6c87013bd
Fix transfer test check for seeder piece counts

I suspect that there's a race where a connection is established to the seeder, but we haven't received it's completed piece information yet, and we already finished reading all the data we need from another connection. Probably comes up now because pending peers with the same address aren't clobbering each other since that was fixed.
test/transfer_test.go