Drop the retransmit timeout on the lossy connection test.

Since this is a test to localhost, a 10ms RTO is more than enough,
and speeds up the test 10x.
This commit is contained in:
David Anderson 2016-02-18 09:36:19 -08:00
parent af8e62003b
commit 7f4b62d890

View File

@ -56,7 +56,7 @@ func TestInterop(t *testing.T) {
TransferLog: transferLog,
// Lower block size to send more packets
MaxBlockSize: 500,
WriteTimeout: 100 * time.Millisecond,
WriteTimeout: 10 * time.Millisecond,
// 10% loss rate until we've dropped 5 packets
Dial: lossyDialer(10, 5),
},