Improve parallel test execution, RPM build, and test configuration#1251
Open
ibujna wants to merge 6 commits intomemcached:nextfrom
Open
Improve parallel test execution, RPM build, and test configuration#1251ibujna wants to merge 6 commits intomemcached:nextfrom
ibujna wants to merge 6 commits intomemcached:nextfrom
Conversation
- Enable running tests in parallel using the Makefile variable PARALLEL.
Example usage: PARALLEL=5, PARALLEL=-j5, PARALLEL=-jobs=5.
- Automatically configure parallel and SSL testing when building RPMs via the spec file.
Introduce new configuration variables:
1. with_tls which setup --enable-tls
2. with_proxy which setup --enable-proxy
If both options are enabled, --enable-proxy-tls is automatically set.
- Add environment variable TEST_CMD to print the memcached command executed during tests.
- Configure unit tests to skip starting memcached with SSL or UDP when not required.
- Fix parallel test execution:
1. Each test allocates its own port to avoid conflicts.
2. Disable SSL or UDP in tests when not used to prevent parallel test failures.
- Add comment explaining what to do if attempting to compile Lua when Lua is not installed.
- Fix maxconn tests on systems with a nofile limit below 1024 (e.g., macOS).
Member
|
Parts of this are easy to take but I'm not sure about half of it... If you feel up to splitting it up into a few more PR's that would help. Or else I guess eventually I'll do it. |
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
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.
Enable running tests in parallel using the Makefile variable PARALLEL. Example usage: PARALLEL=5, PARALLEL=-j5, PARALLEL=-jobs=5.
Add environment variable TEST_CMD to print the memcached command executed during tests.
Configure unit tests to skip starting memcached with SSL or UDP when not required.
Fix parallel test execution: