Skip to content

fix: make TempSessionsBase test resilient to parallel execution#783

Merged
PureWeen merged 1 commit into
mainfrom
fix/temp-sweep-test
Apr 28, 2026
Merged

fix: make TempSessionsBase test resilient to parallel execution#783
PureWeen merged 1 commit into
mainfrom
fix/temp-sweep-test

Conversation

@PureWeen
Copy link
Copy Markdown
Owner

The TempSessionsBase_RedirectedBySetBaseDirForTesting test asserts an exact path match against TestSetup.TestBaseDir, but MultiAgentRegressionTests temporarily overrides SetBaseDirForTesting with a different dir during parallel xUnit execution. This causes the test to see a different base dir and fail.

Fix: use EndsWith("polypilot-sessions") instead of an exact path match.

The test asserted an exact path match, but MultiAgentRegressionTests
temporarily overrides SetBaseDirForTesting during parallel execution,
causing the path to differ. Use EndsWith check instead.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@PureWeen PureWeen merged commit a46f007 into main Apr 28, 2026
@PureWeen PureWeen deleted the fix/temp-sweep-test branch April 28, 2026 15:16
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