Skip to content

Conversation

@garyvdm
Copy link

@garyvdmgaryvdm commented Jan 10, 2026

When running the pytest adapter tests, if subprocess fails to open the pipe for writing, then the the open call for reading the pipe blocks, and the tests hang. This PR fixes that by using non-blocking IO when reading the pipe. This should make debugging the tests easier.

This also address 2 other minor issues:

  • Remove unused code for listening on a unix socket.
  • Refactor test runner to make platform specific named pipe code encapsulated.

@garyvdm
Copy link
Author

@microsoft-github-policy-service agree

Sign up for freeto 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

@garyvdm