mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:33:33 +03:00
tests: tweak lock file handling and timers
- when server are killed by a test case, do not wait for the server lock file to go away. These tests are mostly about client timeouts and the server will hang until killed. - when killing a server successfully, check for a remaining lock file, log its existence and remove it. - lower the delay timings on SLOWDOWN by half - add SLOWDOWNDATA server command to only slow down the FTP data bytes, not the control ones. - lower some timeout values Closes #14835
This commit is contained in:
parent
8ca6030839
commit
e70c22b622
10 changed files with 126 additions and 42 deletions
|
|
@ -327,6 +327,8 @@ sub killpid {
|
|||
}
|
||||
}
|
||||
last if(not scalar(@signalled));
|
||||
# give any zombies of us a chance to move on to the afterlife
|
||||
pidwait(0, &WNOHANG);
|
||||
portable_sleep(0.05);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue