1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From ece40d14b91a6e790ba51357d449065e98a937bf Mon Sep 17 00:00:00 2001
From: kayoch1n <hanayolawk@gmail.com>
Date: Fri, 7 Feb 2025 14:28:34 +0800
Subject: [PATCH 1/2] increase ctx timeout in TestDatagramLoss
---
integrationtests/self/datagram_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/integrationtests/self/datagram_test.go b/integrationtests/self/datagram_test.go
index 11ae654d4ba..480bed32032 100644
--- a/integrationtests/self/datagram_test.go
+++ b/integrationtests/self/datagram_test.go
@@ -164,7 +164,7 @@ func TestDatagramLoss(t *testing.T) {
require.NoError(t, proxy.Start())
defer proxy.Close()
- ctx, cancel := context.WithTimeout(context.Background(), scaleDuration(numDatagrams*time.Millisecond))
+ ctx, cancel := context.WithTimeout(context.Background(), scaleDuration(2 * numDatagrams * time.Millisecond))
defer cancel()
clientConn, err := quic.Dial(
ctx,
From c1b9bae529729d5301db2a7763ff934b5441ff2c Mon Sep 17 00:00:00 2001
From: kayoch1n <hanayolawk@gmail.com>
Date: Fri, 7 Feb 2025 14:46:10 +0800
Subject: [PATCH 2/2] retrigger checks
|