-
Notifications
You must be signed in to change notification settings - Fork 17
luatest: allow to run test cases in parallel #433
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
ylobankov
merged 2 commits into
master
from
Totktonada/luatest-run-test-cases-in-parallel
Jun 8, 2024
Merged
luatest: allow to run test cases in parallel #433
ylobankov
merged 2 commits into
master
from
Totktonada/luatest-run-test-cases-in-parallel
Jun 8, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It is hard to understand and hard to extend. This commit attempts to arrange the method. Points to highlight: * Two old hacks are kept as is and got TODO comments. I'm a bit worrying about compatibility here and I would return here back later. * `tests` and `exclude` patterns are obtained directly from the CLI options object, because I don't see a reason to pass them over the test suite object. * `Server.exclude_tests` helper is not used anymore. A filtering by tags is included right into the test searching method. * All the filtering conditions are expressed in a similar way, so more ones may be added in a future.
In order to use the feature, add the following comment to a beginning of the test file: ```lua -- tags: parallel ```
ochaplashkin
approved these changes
May 30, 2024
Totktonada
added a commit
that referenced
this pull request
Jun 8, 2024
The new version includes one commit. - Add --list-test-cases and --run-test-case [1] This commit is necessary for the new `tags: parallel` functionality added in PR #433. [1] tarantool/luatest@fcabd2a
The bump of the submodule is in PR #436.
It already lands to test-run. |
ylobankov
pushed a commit
that referenced
this pull request
Jun 8, 2024
The new version includes one commit. - Add --list-test-cases and --run-test-case [1] This commit is necessary for the new `tags: parallel` functionality added in PR #433. [1] tarantool/luatest@fcabd2a
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Requires tarantool/luatest#378.
Feels better with #432.
In order to use the feature, add the following comment to a beginning of the test file:
-- tags: parallel