Skip to content

Listen only to stdout for test-proxy errors #2897

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 13, 2025
Merged

Conversation

heaths
Copy link
Member

@heaths heaths commented Aug 12, 2025

Resolves #2715. On Windows, listening on stderr was keeping the test-proxy process alive and it wasn't shutting down after all tests completed. There may be a better solution using PTY, but stock support in std or okio for PTY isn't adequate in Windows and this narrow use case doesn't currently warrant the amount of effort I put into heaths/akv-cli-rs to fix a similar problem.

@github-actions github-actions bot added the Azure.Core The azure_core crate label Aug 12, 2025
Resolves Azure#2715. On Windows, listening on stderr was keeping the test-proxy process alive and it wasn't shutting down after all tests completed. There may be a better solution using PTY, but stock support in `std` or `tokio` for PTY isn't adequate in Windows and this narrow use case doesn't currently warrant the amount of effort I put into heaths/akv-cli-rs to fix a similar problem.
@heaths heaths changed the title Process stderr from test-proxy differently Listen only to stdout for test-proxy errors Aug 13, 2025
@heaths heaths marked this pull request as ready for review August 13, 2025 05:56
@Copilot Copilot AI review requested due to automatic review settings August 13, 2025 05:56
@heaths heaths enabled auto-merge (squash) August 13, 2025 05:57
@heaths heaths requested a review from ronniegeraghty as a code owner August 13, 2025 06:13
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@heaths heaths merged commit 88c8db4 into Azure:main Aug 13, 2025
18 checks passed
@heaths heaths deleted the issue2715 branch August 13, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core The azure_core crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test Proxy hangs on final test output
2 participants