From 142463c9375efdcdaa4c504f6aaf5bfd61d5ba99 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 31 May 2017 10:27:32 +0100 Subject: [PATCH] Wait longer for the server in TLSProxy to start In a recent PR (#3566) it seems that TLSProxy gave up trying to connect to the server process too quickly. This meant the test failed even though the server *did* eventually start. Currently we try 3 times to connect with a 0.1 second pause between each attempt. That is probably too aggressive. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/3587) --- util/TLSProxy/Proxy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/TLSProxy/Proxy.pm b/util/TLSProxy/Proxy.pm index 5c363e76ed..c92652e78f 100644 --- a/util/TLSProxy/Proxy.pm +++ b/util/TLSProxy/Proxy.pm @@ -255,7 +255,7 @@ sub clientstart print "Connection opened\n"; # Now connect to the server - my $retry = 3; + my $retry = 10; my $server_sock; #We loop over this a few times because sometimes s_server can take a while #to start up -- GitLab