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
Run the tests in parallel #3777
Conversation
Cause the time needed to run the testsuite to drop from ~4mins to ~40s
Use a fifo pipe to handle the synchronisation between the different threads rather than relying on delays
Use a fifo pipe to handle the synchronisation between the different threads rather than relying on delays
Thanks, awesome :-) |
Bleh, this broke OSX tests because the socket path becomes too long on the CI 😒 I'll open a MR to increase its length |
I got this running
|
Mh nvm, I can't do that, the size is defined in glibc 🤦 I'll just try and shorten a bit the |
Mh I was indeed missing a dependency. |
Reuse the pre-existing list rather than the one written as part of NixOS#3777
#3778 fixes the |
YAY!!!!! Wow, I hindsight I have no idea how I survived the past month without this :) Thanks @regnat!!! |
Reuse the pre-existing list rather than the one written as part of NixOS#3777
Reuse the pre-existing list rather than the one written as part of NixOS#3777 (cherry picked from commit 5101ed1)
Reuse the pre-existing list rather than the one written as part of NixOS#3777 (cherry picked from commit 5101ed1)
Change the way the testsuite runs to make each test a separate make target, allowing to run them in parallel rather than sequentially as we do now.
This causes
make installcheck -j$(nproc)
to drop from ~4m30 to ~40s on my machine.To allow that, each test now runs under a different
TEST_ROOT
(which also ensures that they are truly independant), and runstests/init.sh
first to setup everything