Skip to content

Enable test: discarding task group making sure we deinit confidently #67417

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
Jul 20, 2023

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Jul 19, 2023

Similar to #67392 / rdar://110474311 we believe this type of failure:

Input was:
<<<<<<
          1: deinit main.ErrorFirst 
check:72                      X~~~~~ error: no match found
>>>>>>

to be caused by the process exiting before the deinits complete running. We add a latch to make sure the deinits got to run before we exit the app


Resolves rdar://110025115 and re-enables Concurrency/Runtime/async_taskgroup_discarding.swift

@ktoso ktoso requested a review from kavon as a code owner July 19, 2023 22:57
@ktoso ktoso force-pushed the wip-reenable-async_taskgroup_discarding branch from d703a7a to bcf9d1b Compare July 19, 2023 23:09
@ktoso ktoso requested review from etcwilde, al45tair and drexin July 19, 2023 23:10
Copy link
Contributor

@drexin drexin left a comment

Choose a reason for hiding this comment

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

LGTM

@ktoso ktoso added test suite Area: test suite concurrency Feature: umbrella label for concurrency language features labels Jul 19, 2023
@ktoso
Copy link
Contributor Author

ktoso commented Jul 19, 2023

@swift-ci please smoke test

@ktoso
Copy link
Contributor Author

ktoso commented Jul 20, 2023

@swift-ci please smoke test

@ktoso ktoso merged commit a1aeacf into swiftlang:main Jul 20, 2023
@ktoso ktoso deleted the wip-reenable-async_taskgroup_discarding branch July 20, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concurrency Feature: umbrella label for concurrency language features test suite Area: test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants