aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/ssl/t/SSLServer.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ssl/t/SSLServer.pm b/src/test/ssl/t/SSLServer.pm
index 804d0082452..519ac221d6f 100644
--- a/src/test/ssl/t/SSLServer.pm
+++ b/src/test/ssl/t/SSLServer.pm
@@ -42,6 +42,12 @@ our @EXPORT = qw(
switch_server_cert
);
+# Force SSL tests nodes to begin in TCP mode. They won't work in Unix Socket
+# mode and this way they will find a port to run on in a more robust way.
+# Use an INIT block so it runs after the BEGIN block in TestLib.pm.
+
+INIT { $TestLib::use_unix_sockets = 0; }
+
# Copy a set of files, taking into account wildcards
sub copy_files
{