From 00861bde7f90c1e39b7c1588289082816274c138 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Fri, 11 Sep 2020 17:10:16 +0700 Subject: [PATCH] increase the threshold for the receive stream deadline test --- receive_stream_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receive_stream_test.go b/receive_stream_test.go index 293235e5095..d32fa022e5d 100644 --- a/receive_stream_test.go +++ b/receive_stream_test.go @@ -256,7 +256,7 @@ var _ = Describe("Receive Stream", func() { n, err := strWithTimeout.Read(b) Expect(err).To(MatchError(errDeadline)) 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() {