forked from quic-go/quic-go
use the timescale factor for flow control tests on CIs
This commit is contained in:
@@ -63,7 +63,7 @@ var _ = Describe("Connection Flow controller", func() {
|
||||
It("autotunes the window", func() {
|
||||
oldOffset := controller.bytesRead
|
||||
oldWindowSize := controller.receiveWindowSize
|
||||
rtt := 200 * time.Millisecond
|
||||
rtt := scaleDuration(20 * time.Millisecond)
|
||||
setRtt(rtt)
|
||||
controller.epochStartTime = time.Now().Add(-time.Millisecond)
|
||||
controller.epochStartOffset = oldOffset
|
||||
|
||||
Reference in New Issue
Block a user