Skip to content

[Concurrency] tune back the yield test it isn't really testing much #36776

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
Apr 6, 2021

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Apr 6, 2021

The way we used FileCheck in this test was pretty useless and prone to racyness causing a flaky failure.

It is very hard to test a "yield" so let's just test it does not crash for now.

@ktoso
Copy link
Contributor Author

ktoso commented Apr 6, 2021

@swift-ci please smoke test and merge

@shahmishal
Copy link
Member

09:15:12 Failed Tests (1):
09:15:12   Swift(macosx-x86_64) :: Concurrency/Runtime/async_task_yield.swift

@shahmishal
Copy link
Member

@etcwilde
Copy link
Member

etcwilde commented Apr 6, 2021

Filecheck fails if there are no check lines. XFail on the way

@shahmishal
Copy link
Member

@gottesmm already xfailed it.

@etcwilde
Copy link
Member

etcwilde commented Apr 6, 2021

Yep, just saw that.

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.

4 participants