Am 27.06.24 um 03:15 schrieb Eric Covener:
On Wed, Jun 26, 2024 at 8:59 PM Rainer Jung <rainer.j...@kippdata.de> wrote:

Am 26.06.24 um 23:31 schrieb cove...@apache.org:
Author: covener
Date: Wed Jun 26 21:31:37 2024
New Revision: 1918685

URL: http://svn.apache.org/viewvc?rev=1918685&view=rev
Log:
use t/logs/ for socket

I ran into path length restrictions for UDS. Other than normal path
lengths, UDS seem to be restricted to 108 chars, at least that's what
internet wisdom claims.

In my setup, I have a lot of library version in my install path and the
socket path gets too long. As a result the web server does not start for
unit tests.

I switched back to a fixed tmp path locally, so not a problem here. In
most cases the 108 chars will suffice.

That's interesting, I wonder if I setup Yann for the same as he hit a
similar limit earlier.  That would make a big % of people running
tests!

Anyone hate the use of /tmp/ here? Otherwise I would just put it back.
AFAICT It is not left around during the normal course of testing.

For me /tmp is fine, since I do not run multiple servers with the unit tests in parallel on the same machine. I am not actually sure, whether it is possible to run the test suite multiple times in parallel (ports etc.). If not, then a fixed /tmp path might be fine. I am not totally sure about containers and such though.

Best regards,

Rainer

Reply via email to