From 55dbc3c52f9e48548b7ed393035f0e21c201ce57 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Fri, 16 Jun 2017 12:49:42 +0200 Subject: [PATCH] increase RTT and time constraints in handshake RTT tests --- integrationtests/handshake/rtt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrationtests/handshake/rtt.go b/integrationtests/handshake/rtt.go index 7767db6d1..c1f4533fe 100644 --- a/integrationtests/handshake/rtt.go +++ b/integrationtests/handshake/rtt.go @@ -25,7 +25,7 @@ var _ = Describe("Handshake integration tets", func() { testStartedAt time.Time ) - rtt := 300 * time.Millisecond + rtt := 350 * time.Millisecond BeforeEach(func() { serverConfig = &quic.Config{TLSConfig: testdata.GetTLSConfig()} @@ -62,7 +62,7 @@ var _ = Describe("Handshake integration tets", func() { expectedDuration := time.Duration(num) * rtt Expect(testDuration).To(SatisfyAll( BeNumerically(">=", expectedDuration), - BeNumerically("<", expectedDuration+rtt/3), + BeNumerically("<", expectedDuration+rtt/2), )) }