From: Willy Tarreau Date: Tue, 10 Sep 2024 08:36:59 +0000 (+0200) Subject: REGTESTS: shorten a bit the delay for the h1/h2 upgrade test X-Git-Tag: v3.1-dev8~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=33deb4babe83b361f9f7423030cd8cc8318ca2bf;p=thirdparty%2Fhaproxy.git REGTESTS: shorten a bit the delay for the h1/h2 upgrade test Commit d6c4ed9a96 ("REGTESTS: h1/h2: Update script testing H1/H2 protocol upgrades") introduced a 0.5 second delay which is higher than those of most other tests (usually 0.05 or 0.2) and triggers timeouts on my side. Let's just shorten it to 0.2 since its goal is only to send data separately. Note: maybe a barrier approach would be possible, though not studied. --- diff --git a/reg-tests/http-messaging/protocol_upgrade.vtc b/reg-tests/http-messaging/protocol_upgrade.vtc index 454852ca98..46c98481ba 100644 --- a/reg-tests/http-messaging/protocol_upgrade.vtc +++ b/reg-tests/http-messaging/protocol_upgrade.vtc @@ -377,7 +377,7 @@ client c10_h1_post -connect ${hap_frt_h1_post_sock} { -hdr "upgrade: custom_protocol" \ -hdr "content-length: 50" - delay 0.5 + delay 0.2 send_n 5 "0123456789"