mirror of
https://github.com/curl/curl.git
synced 2026-05-02 20:17:52 +03:00
pytest test_07_70, weaken early data check
Since the amount of early data sent in the upload test_07_70 varies much with how fast the server respondes and completes the handshake, assert that we did sent at least *some* early data instead of relying on a specific amount. Closes #17575
This commit is contained in:
parent
d4db756128
commit
950bd72401
1 changed files with 1 additions and 1 deletions
|
|
@ -768,7 +768,7 @@ class TestUpload:
|
|||
assert earlydata[0] == 0, f'{earlydata}\n{r.dump_logs()}'
|
||||
# depending on cpu load, curl might not upload as much before
|
||||
# the handshake starts and early data stops.
|
||||
assert 102 <= earlydata[1] <= exp_early, f'{earlydata}\n{r.dump_logs()}'
|
||||
assert 0 < earlydata[1] <= exp_early, f'{earlydata}\n{r.dump_logs()}'
|
||||
|
||||
def check_downloads(self, client, r, source: List[str], count: int,
|
||||
complete: bool = True):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue