Skip to content

Fix acceptance tests for systemd PrivateTmp compatibility#375

Merged
nmburgan merged 2 commits intomainfrom
fix-tests
Apr 6, 2026
Merged

Fix acceptance tests for systemd PrivateTmp compatibility#375
nmburgan merged 2 commits intomainfrom
fix-tests

Conversation

@nmburgan
Copy link
Copy Markdown
Member

@nmburgan nmburgan commented Apr 6, 2026

Short description

Use /opt/puppetlabs/test-tmp instead of /tmp for temporary environment
directories in acceptance tests. The ezbake PrivateTmp=true change gives
the service its own isolated /tmp, so files created there by the test
harness are not visible to the running service.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • read and accepted the Developer Certificate of Origin document and added a Signed-off-by annotation to each of my commits
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

nmburgan added 2 commits April 6, 2026 22:21
Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
Use /opt/puppetlabs/test-tmp instead of /tmp for temporary environment
directories in acceptance tests. The ezbake PrivateTmp=true change gives
the service its own isolated /tmp, so files created there by the test
harness are not visible to the running service.

Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
@nmburgan nmburgan merged commit 8882950 into main Apr 6, 2026
15 checks passed
@nmburgan nmburgan deleted the fix-tests branch April 6, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants