Skip to content

test(services): isolate ProfileManagerTest temp directory per process - #8

Merged
kegouro merged 1 commit into
integration/reconstructionfrom
fix/profile-manager-isolated-tmp
Jul 4, 2026
Merged

test(services): isolate ProfileManagerTest temp directory per process#8
kegouro merged 1 commit into
integration/reconstructionfrom
fix/profile-manager-isolated-tmp

Conversation

@kegouro

@kegouro kegouro commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Isolate the ProfileManagerTest temporary directory per process to fix flaky failures under parallel test execution.

When tests run with ctest -j, multiple ProfileManagerTest instances shared /tmp/beamlab_profile_test. One process could delete or overwrite another process's profile files, causing ResolveMergesProfileOverDefault and similar tests to fail intermittently.

Use a process-specific directory (beamlab_profile_test_<pid>) and clean it up before each run so parallel test processes do not interfere.

Refs the flaky ProfileManagerTest failures observed in CI.

Running tests in parallel with ctest -j caused multiple test processes
to share /tmp/beamlab_profile_test, leading to flaky failures when
one process deleted or overwrote another's profile files. Use a
process-specific temporary directory and clean it up before each run.

Co-Authored-By: Claude <noreply@anthropic.com>
@kegouro
kegouro force-pushed the fix/profile-manager-isolated-tmp branch from 89283d7 to b5c82bf Compare July 4, 2026 11:14
@kegouro kegouro changed the title test(profile-manager): Isolate temp directory per process test(services): isolate ProfileManagerTest temp directory per process Jul 4, 2026
@kegouro
kegouro merged commit e832358 into integration/reconstruction Jul 4, 2026
7 of 16 checks passed
@kegouro
kegouro deleted the fix/profile-manager-isolated-tmp branch July 4, 2026 11:19
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.

1 participant