From: Dan Fandrich Date: Wed, 13 Sep 2023 07:07:25 +0000 (-0700) Subject: [PATCH] tests: increase the default server logs lock timeout X-Git-Tag: archive/raspbian/8.3.0-3+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e0bc6c993b8d4e7b74cdc0ae5541515fa39cac22;p=curl.git [PATCH] tests: increase the default server logs lock timeout This timeout is used to wait for the server to finish writing its logs before checking them against the expected values. An overloaded machine could take more than the two seconds previously allocated, so increase the timeout to 5 seconds. Ref: #11328 Closes #11834 Gbp-Pq: Name tests_increase_the_default_server_logs_lock_timeout.patch --- diff --git a/tests/runner.pm b/tests/runner.pm index 0a288c41..8d86bd77 100644 --- a/tests/runner.pm +++ b/tests/runner.pm @@ -126,7 +126,7 @@ our $tortalloc; my %oldenv; # environment variables before test is started my $UNITDIR="./unit"; my $CURLLOG="$LOGDIR/commands.log"; # all command lines run -my $defserverlogslocktimeout = 2; # timeout to await server logs lock removal +my $defserverlogslocktimeout = 5; # timeout to await server logs lock removal my $defpostcommanddelay = 0; # delay between command and postcheck sections my $multiprocess; # nonzero with a separate test runner process