mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
travis: reduce parallelism for valgrind
We're hitting OOM at the moment: reduce number of valgrinds we run at once. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
1044e37fee
commit
2524aeac3a
@ -11,7 +11,8 @@ export PATH=$CWD/dependencies/bin:"$HOME"/.local/bin:"$PATH"
|
||||
export TIMEOUT=180
|
||||
export PYTEST_PAR=2
|
||||
# If we're not in developer mode, tests spend a lot of time waiting for gossip!
|
||||
if [ "$DEVELOPER" = 0 ]; then
|
||||
# But if we're under valgrind, we can run out of memory!
|
||||
if [ "$DEVELOPER" = 0 ] && [ "$VALGRIND" = 0 ]; then
|
||||
PYTEST_PAR=4
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user