Skip to content

[test] Mark concurrency tests with appropiate REQUIRES. #35624

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
Feb 1, 2021

Conversation

drodriguez
Copy link
Contributor

The Python build system always enables concurrency, but CMake has it
disable by default. Collaborators that do not use the Python build
system and use directly CMake will have it disable, unless they
explicitely enable it. If the tests are not marked as requiring the
concurrency features, the tests will fail to execute when concurrency is
disabled.

The changes add the REQUIRES: concurrency line to many tests that deal
with concurrency, but wasn't marked as such.

The tests were found using the following: grep -L -e 'REQUIRES: concurrency' $(grep -r -l -e 'enable-experimental-concurrency' validation-test/ test/).

This is a more complete version of #35557 (with a proper explanation).

The Python build system always enables concurrency, but CMake has it
disable by default. Collaborators that do not use the Python build
system and use directly CMake will have it disable, unless they
explicitely enable it. If the tests are not marked as requiring the
concurrency features, the tests will fail to execute when concurrency is
disabled.

The changes add the `REQUIRES: concurrency` line to many tests that deal
with concurrency, but wasn't marked as such.
@drodriguez
Copy link
Contributor Author

@swift-ci please test

@drodriguez
Copy link
Contributor Author

@swift-ci please test Windows platform.

@drodriguez drodriguez merged commit 748339a into swiftlang:main Feb 1, 2021
@drodriguez drodriguez deleted the requires-concurrency branch February 1, 2021 19:45
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.

1 participant