summaryrefslogtreecommitdiffstats
path: root/util/perl/TLSProxy/Proxy.pm
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2025-01-21 16:12:18 +0100
committerTomas Mraz <tomas@openssl.org>2025-01-23 12:01:38 +0100
commitb999ea6bc43ef6c53d464f364b7799ac9049ddd9 (patch)
treed6b92f5c3ac82996243503c26450864ea5b799f8 /util/perl/TLSProxy/Proxy.pm
parentapps/cms.c: Cleanup for dead assignment to argc (diff)
downloadopenssl-b999ea6bc43ef6c53d464f364b7799ac9049ddd9.tar.xz
openssl-b999ea6bc43ef6c53d464f364b7799ac9049ddd9.zip
Give DTLS tests more time to complete
Increase the timeout for DTLS tests to 10 seconds. But do that only for DTLS as this would waste time for other tests, most of the TLS tests do not need this at all. Fixes #26491 Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26502)
Diffstat (limited to '')
-rw-r--r--util/perl/TLSProxy/Proxy.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/perl/TLSProxy/Proxy.pm b/util/perl/TLSProxy/Proxy.pm
index ac40076da2..709ccebd0c 100644
--- a/util/perl/TLSProxy/Proxy.pm
+++ b/util/perl/TLSProxy/Proxy.pm
@@ -293,7 +293,7 @@ sub start
open(my $savedin, "<&STDIN");
# Temporarily replace STDIN so that sink process can inherit it...
- open(STDIN, "$^X -e 'sleep(1)' |");
+ open(STDIN, "$^X -e 'sleep(10)' |") if $self->{isdtls};
$pid = open(STDIN, "$execcmd 2>&1 |") or die "Failed to $execcmd: $!\n";
$self->{real_serverpid} = $pid;