Skip to content

StdlibUnittest: repair in-process concurrency test execution #37785

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
Jun 5, 2021

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Jun 4, 2021

The support for running concurrency tests individually with filters
invoked the non-concurrent supporting runOneTest accidentally. Fix
this to us the runOneTestAsync allowing the single async test to be
run in process again. This is needed for ease of debugging (and in the
case of Windows, the only option for debugging).

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

The support for running concurrency tests individually with filters
invoked the non-concurrent supporting `runOneTest` accidentally. Fix
this to us the `runOneTestAsync` allowing the single async test to be
run in process again.  This is needed for ease of debugging (and in the
case of Windows, the only option for debugging).
@compnerd
Copy link
Member Author

compnerd commented Jun 4, 2021

CC: @etcwilde

@compnerd
Copy link
Member Author

compnerd commented Jun 4, 2021

@swift-ci please test

Copy link
Member

@etcwilde etcwilde left a comment

Choose a reason for hiding this comment

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

Whoops, sorry about that.
Nice catch. LGTM.

@swift-ci
Copy link
Contributor

swift-ci commented Jun 4, 2021

Build failed
Swift Test Linux Platform
Git Sha - 7da9f8c

@compnerd
Copy link
Member Author

compnerd commented Jun 4, 2021

@swift-ci please test Linux platform

@swift-ci
Copy link
Contributor

swift-ci commented Jun 4, 2021

Build failed
Swift Test Linux Platform
Git Sha - 7da9f8c

@compnerd
Copy link
Member Author

compnerd commented Jun 4, 2021

@swift-ci please smoke test Linux platform

@compnerd
Copy link
Member Author

compnerd commented Jun 4, 2021

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

compnerd commented Jun 4, 2021

@swift-ci please test Linux platform

@compnerd
Copy link
Member Author

compnerd commented Jun 5, 2021

@swift-ci please test Windows platform

@compnerd compnerd merged commit 0634ffc into swiftlang:main Jun 5, 2021
@compnerd compnerd deleted the compnerd/concurrent-processing branch June 5, 2021 04:39
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.

3 participants