Skip to content

Fix remaining Windows test issues #104

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

Conversation

jakepetroules
Copy link
Contributor

testPlatformOptionsCreateNewConsole: this test was meaning to assert that the values are different, not that they're the same. Fix this simple logic issue.
testRunDetached: this test never completed reading the output, because the write fd was kept open and reading never completed. Close the write fd before reading.
testInputSequenceCustomExecutionBody, testInputAsyncSequenceCustomExecutionBody, testRedirectedOutputRedirectToSequence: these tests hit an implementation issue where EOF was not correctly detected, leading to a hang. Change the logic to return nil if an empty buffer is received.

This patch also enables CI tests for Windows.

Base automatically changed from eng/PR-windows-fd-free to main June 30, 2025 19:42
testPlatformOptionsCreateNewConsole: this test was meaning to assert that the values are different, not that they're the same. Fix this simple logic issue.
testRunDetached: this test never completed reading the output, because the write fd was kept open and reading never completed. Close the write fd before reading.
testInputSequenceCustomExecutionBody, testInputAsyncSequenceCustomExecutionBody, testRedirectedOutputRedirectToSequence: these tests hit an implementation issue where EOF was not correctly detected, leading to a hang. Change the logic to return nil if an empty buffer is received.

This patch also enables CI tests for Windows.
@jakepetroules jakepetroules force-pushed the eng/PR-windows-test-issues-eng/PR-windows-fd-free branch from 5236e7a to 6ef40a5 Compare June 30, 2025 22:04
@jakepetroules jakepetroules merged commit e07ce99 into main Jun 30, 2025
121 of 147 checks passed
@jakepetroules jakepetroules deleted the eng/PR-windows-test-issues-eng/PR-windows-fd-free branch June 30, 2025 22:40
@iCharlesHu iCharlesHu mentioned this pull request Jul 4, 2025
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.

2 participants