mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 10:40:27 +09:00
torture: Increase wait time for process termination to 10ms
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -219,7 +219,7 @@ int torture_terminate_process(const char *pidfile)
|
|||||||
/* Make sure the daemon goes away! */
|
/* Make sure the daemon goes away! */
|
||||||
kill(pid, SIGTERM);
|
kill(pid, SIGTERM);
|
||||||
|
|
||||||
usleep(5000);
|
usleep(10000);
|
||||||
|
|
||||||
rc = kill(pid, 0);
|
rc = kill(pid, 0);
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user