diff options
author | Stefan Eissing <icing@apache.org> | 2023-07-06 10:24:24 +0200 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2023-07-06 10:24:24 +0200 |
commit | f3c57a99a8d4ebe026b2e0e5f7ee6ec1965e9df0 (patch) | |
tree | 9a1c8b4d8c43b4120ac732d436803e89743f7a11 /test/pyhttpd | |
parent | proxy_util: revert timeout selection on a proxy tunnel back to (diff) | |
download | apache2-f3c57a99a8d4ebe026b2e0e5f7ee6ec1965e9df0.tar.xz apache2-f3c57a99a8d4ebe026b2e0e5f7ee6ec1965e9df0.zip |
test h2: be more generous in stutter step jittering.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910810 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/pyhttpd')
-rw-r--r-- | test/pyhttpd/curl.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/pyhttpd/curl.py b/test/pyhttpd/curl.py index 84ef9c8161..d377a91238 100644 --- a/test/pyhttpd/curl.py +++ b/test/pyhttpd/curl.py @@ -130,9 +130,7 @@ class CurlPiper: delta_mics += datetime.time(23, 59, 59, 999999) recv_deltas.append(datetime.timedelta(microseconds=delta_mics)) last_mics = mics - stutter_td = datetime.timedelta(seconds=stutter.total_seconds() * 0.9) # 10% leeway - # TODO: the first two chunks are often close together, it seems - # there still is a little buffering delay going on + stutter_td = datetime.timedelta(seconds=stutter.total_seconds() * 0.75) # 25% leeway for idx, td in enumerate(recv_deltas[1:]): assert stutter_td < td, \ f"chunk {idx} arrived too early \n{recv_deltas}\nafter {td}\n{recv_err}" |