Skip to content

[5.9] Forward unit test concurrency fix from main #4790

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 1 commit into from
Sep 12, 2023

Conversation

grynspan
Copy link
Contributor

Explanation: swift-corelibs-xctest is adopting some changes in 5.9 to improve concurrency support. This change fixes a unit test in this package that currently fails (due to a real bug in the test) when the XCTest changes are applied.
Scope: A fix to a unit test only. No effect on the primary package target.
Issue: #4787
Risk: No obvious risk.
Testing: Simply run the unit test and confirm it builds and passes.
Reviewer: @parkera et al.

…Notify-concurrency-bug

Fix a concurrency bug in the TestFileHandle.test_readToEndOfFileAndNotify() unit test.
@grynspan grynspan self-assigned this Jun 29, 2023
@grynspan grynspan requested review from parkera and briancroom June 29, 2023 13:38
@grynspan
Copy link
Contributor Author

@swift-ci please test

@grynspan
Copy link
Contributor Author

macOS build failure appears to be infrastructural. I've reached out to the CI owners for assistance.

@grynspan
Copy link
Contributor Author

@swift-ci please test macOS

2 similar comments
@grynspan
Copy link
Contributor Author

@swift-ci please test macOS

@grynspan
Copy link
Contributor Author

grynspan commented Jul 4, 2023

@swift-ci please test macOS

@compnerd
Copy link
Member

@swift-ci please test macOS platform

@grynspan
Copy link
Contributor Author

@swift-ci please test macOS

@grynspan
Copy link
Contributor Author

grynspan commented Aug 1, 2023

@swift-ci please test

1 similar comment
@grynspan
Copy link
Contributor Author

@swift-ci please test

@grynspan
Copy link
Contributor Author

Unfortunately we were not able to resolve the build failure on macOS.

@grynspan grynspan closed this Aug 31, 2023
@MaxDesiatov MaxDesiatov reopened this Sep 6, 2023
@MaxDesiatov
Copy link
Contributor

@swift-ci test

2 similar comments
@briancroom
Copy link
Contributor

@swift-ci test

@briancroom
Copy link
Contributor

@swift-ci test

@iCharlesHu iCharlesHu merged commit 1de921d into release/5.9 Sep 12, 2023
@parkera parkera deleted the jgrynspan/fix-concurrency-bug-5.9 branch July 30, 2024 22:11
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.

6 participants