1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 14:35:03 -05:00

runtests: remove sleep calls

Remove many one second sleeps that were done *after* each newly started
test server already has been verified. They should not have any purpose
there.

Closes #5323
This commit is contained in:
Daniel Stenberg 2020-05-02 16:31:52 +02:00
parent 59e351a572
commit 00c2e8da9a
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -1572,8 +1572,6 @@ sub runhttpserver {
logmsg "RUN: $srvrname server is on PID $httppid port $port\n";
}
sleep(1);
return ($httppid, $pid2, $port);
}
@ -1666,8 +1664,6 @@ sub runhttpsserver {
logmsg "RUN: $srvrname server is PID $httpspid port $port\n";
}
sleep(1);
return ($httpspid, $pid2, $port);
}
@ -1745,8 +1741,6 @@ sub runhttptlsserver {
logmsg "RUN: $srvrname server is now running PID $httptlspid\n";
}
sleep(1);
return ($httptlspid, $pid2);
}
@ -1866,8 +1860,6 @@ sub runpingpongserver {
return 0;
}
sleep(1);
return ($pid2, $ftppid);
}
@ -1956,7 +1948,6 @@ sub runftpsserver {
}
last;
}
sleep(1);
return ($ftpspid, $pid2, $port);
}
@ -2039,8 +2030,6 @@ sub runtftpserver {
logmsg "RUN: $srvrname server on PID $tftppid port $port\n";
}
sleep(1);
return ($pid2, $tftppid, $port);
}
@ -2123,8 +2112,6 @@ sub runrtspserver {
logmsg "RUN: $srvrname server PID $rtsppid port $port\n";
}
sleep(1);
return ($rtsppid, $pid2, $port);
}
@ -2462,8 +2449,6 @@ sub rundictserver {
logmsg "RUN: $srvrname server is now running PID $dictpid\n";
}
sleep(1);
return ($dictpid, $pid2);
}
@ -2539,8 +2524,6 @@ sub runsmbserver {
logmsg "RUN: $srvrname server is now running PID $smbpid\n";
}
sleep(1);
return ($smbpid, $pid2);
}
@ -2615,8 +2598,6 @@ sub runnegtelnetserver {
logmsg "RUN: $srvrname server is now running PID $ntelpid\n";
}
sleep(1);
return ($ntelpid, $pid2);
}