From 1e008c7cec5da2c68d373f581570be08a5183f6a Mon Sep 17 00:00:00 2001 From: Kazuho Oku Date: Wed, 8 May 2024 16:00:42 +0900 Subject: [PATCH] check jumpstart sends at the expected rate --- t/e2e.t | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/t/e2e.t b/t/e2e.t index 58288c3a..a36c900e 100755 --- a/t/e2e.t +++ b/t/e2e.t @@ -428,7 +428,18 @@ subtest "slow-start" => sub { for ([1000, 2, 2.3], [30000, 2.3, 3], [87000, 3.3, 4], [96000, 4, 4.5]); }; }); - } + }; + + subtest "jumpstart" => sub { + $each_cc->(sub { + my $cc = shift; + plan skip_all => "Cubic TODO respect app-limited (mandatory for jumpstart)" + if $cc eq "cubic"; + my $guard = spawn_server("-C", "$cc:20:p", "--jumpstart-default", "80"); + $doit->(@$_) + for ([1440 * 45, 2.5, 2.8], [1440 * 90, 3.0, 3.3]); + }); + }; }; done_testing;