test579: improve robustness

Log progress only at start and end of transfer to give normalized
output when upload data is only partially sent or temporarily blocked.

Fixes test with CURL_DBG_SOCK_WBLOCK=90 set.

Closes #14454
This commit is contained in:
Stefan Eissing 2024-08-08 13:26:10 +02:00 committed by Daniel Stenberg
parent ac6349b451
commit 640febc7d0
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 30 additions and 25 deletions

View file

@ -76,14 +76,10 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER %LOGDIR/ip%TESTNUMBER
# Verify data after the test has been "shot"
<verify>
<file name="%LOGDIR/ip%TESTNUMBER">
Progress callback called with UL 0 out of 0
Progress callback called with UL 5 out of 0
Progress callback called with UL 0 out of 0
Progress callback called with UL 8 out of 0
Progress callback called with UL 16 out of 0
Progress callback called with UL 26 out of 0
Progress callback called with UL 61 out of 0
Progress callback called with UL 66 out of 0
Progress: start UL 0/0
Progress: end UL 5/0
Progress: start UL 0/0
Progress: end UL 66/0
</file>
</verify>
</testcase>