From 5b1b9f78247e122804490b17112e94df32851464 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Fri, 1 Jan 2021 13:44:00 -0500 Subject: [tests] use ephemeral ports in tests avoid spurious test failures due to conflicts with ports in use by other processes, which might occur when tests use hard-coded ports --- tests/lighttpd.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tests/lighttpd.conf') diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf index 7b57d42e..2c8d4729 100644 --- a/tests/lighttpd.conf +++ b/tests/lighttpd.conf @@ -2,16 +2,12 @@ debug.log-request-handling = "enable" debug.log-request-header = "enable" debug.log-response-header = "enable" #debug.log-condition-handling = "enable" -server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" ## 64 Mbyte ... nice limit server.max-request-size = 65000 -## bind to port (default: 80) -server.port = 2048 - -## bind to localhost (default: all interfaces) -server.bind = "localhost" +server.systemd-socket-activation = "enable" +server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/" server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log" server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log" server.name = "www.example.org" -- cgit v1.2.1