mirror of
https://github.com/danderson/netboot.git
synced 2025-08-11 09:07:12 +02:00
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:
parent
af8e62003b
commit
7f4b62d890
@ -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),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user