Skip to content

Fix xUnit worker: tolerate stdout noise breaking protocol - #12

Merged
rogeralsing merged 2 commits into
mainfrom
fix/xunit-worker-stdout-protocol
Jan 18, 2026
Merged

rogeralsing merged 2 commits into
mainfrom
fix/xunit-worker-stdout-protocol

Conversation

@rogeralsing

Copy link
Copy Markdown
Contributor

Fixes #8.

xUnit worker runs can appear to filter out all tests when non-protocol output is written to stdout, causing JSON-line parsing to stop early.

Changes:

  • Reserve worker stdout for protocol by redirecting Console.Out to stderr in the worker.
  • Make the coordinator ignore non-protocol stdout lines instead of treating them as EOF.
  • Add regression coverage with a sample xUnit assembly that emits stdout noise during load.

Prevents non-protocol stdout from breaking JSON-line parsing and adds a regression test.
@rogeralsing rogeralsing mentioned this pull request Jan 16, 2026
3 tasks done
@rogeralsing rogeralsing mentioned this pull request Jan 16, 2026
@rogeralsing
rogeralsing merged commit 66288ba into main Jan 18, 2026
1 check passed
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.

xUnit worker support: Test filtering fails, all tests get filtered out

1 participant