Skip to content

otlprelay: use a short temp dir for the test socket - #2270

Merged
Zoe Zhao (zoez7) merged 1 commit into
agent-substrate:mainfrom
BenTheElder:otlprelay-short-socket-dir
Oct 6, 2026
Merged

Zoe Zhao (zoez7) merged 1 commit into
agent-substrate:mainfrom
BenTheElder:otlprelay-short-socket-dir

Conversation

@BenTheElder

Copy link
Copy Markdown
Collaborator

t.TempDir() embeds the test name, so a longer name pushes the socket path past the ~104 byte unix socket limit on darwin.

Fixes running tests on my mac ...

t.TempDir() embeds the test name, so a longer name pushes the socket
path past the ~104 byte unix socket limit on darwin.
@BenTheElder Benjamin Elder (BenTheElder) added area/tests Enhancing / fixing test coverage. area/observability labels Oct 6, 2026
@zoez7
Zoe Zhao (zoez7) added this pull request to the merge queue Oct 6, 2026
Merged via the queue into agent-substrate:main with commit 5488e15 Oct 6, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/observability area/tests Enhancing / fixing test coverage.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants