mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 16:44:22 +01:00
travis: Parallelize non-valgrind tests even if under developer
Tests were timing out, and there is no point in artificially limiting ourselves if we can be quicker.
This commit is contained in:
committed by
Rusty Russell
parent
f20091fc72
commit
817f7c703b
@@ -12,9 +12,8 @@ export PATH=$CWD/dependencies/bin:"$HOME"/.local/bin:"$PATH"
|
||||
export PYTEST_PAR=2
|
||||
export PYTEST_SENTRY_ALWAYS_REPORT=1
|
||||
|
||||
# If we're not in developer mode, tests spend a lot of time waiting for gossip!
|
||||
# But if we're under valgrind, we can run out of memory!
|
||||
if [ "$DEVELOPER" = 0 ] && [ "$VALGRIND" = 0 ]; then
|
||||
# Allow up to 4 concurrent tests when not under valgrind, which might run out of memory.
|
||||
if [ "$VALGRIND" = 0 ]; then
|
||||
PYTEST_PAR=4
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user