forked from quic-go/quic-go
increase the threshold for the receive stream deadline test
This commit is contained in:
@@ -256,7 +256,7 @@ var _ = Describe("Receive Stream", func() {
|
|||||||
n, err := strWithTimeout.Read(b)
|
n, err := strWithTimeout.Read(b)
|
||||||
Expect(err).To(MatchError(errDeadline))
|
Expect(err).To(MatchError(errDeadline))
|
||||||
Expect(n).To(BeZero())
|
Expect(n).To(BeZero())
|
||||||
Expect(time.Now()).To(BeTemporally("~", deadline, scaleDuration(10*time.Millisecond)))
|
Expect(time.Now()).To(BeTemporally("~", deadline, scaleDuration(20*time.Millisecond)))
|
||||||
})
|
})
|
||||||
|
|
||||||
It("doesn't unblock if the deadline is changed before the first one expires", func() {
|
It("doesn't unblock if the deadline is changed before the first one expires", func() {
|
||||||
|
|||||||
Reference in New Issue
Block a user