mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +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:
parent
f20091fc72
commit
817f7c703b
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue