From 8d5f8d822db8c50b447bb5009267ff256c5378e8 Mon Sep 17 00:00:00 2001 From: Alex Akselrod Date: Wed, 21 Aug 2024 17:13:07 -0700 Subject: [PATCH] itest: ensure LND gets correct CLI options when itest are parallel --- scripts/itest_parallel.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/itest_parallel.sh b/scripts/itest_parallel.sh index d981bb764..2ae7f3f53 100755 --- a/scripts/itest_parallel.sh +++ b/scripts/itest_parallel.sh @@ -3,8 +3,9 @@ # Get all the variables. PROCESSES=$1 TRANCHES=$2 -TEST_FLAGS=$3 -ITEST_FLAGS=$4 + +# Here we also shift 2 times and get the rest of our flags to pass on in $@. +shift 2 # Create a variable to hold the final exit code. exit_code=0 @@ -12,7 +13,7 @@ exit_code=0 # Run commands using xargs in parallel and capture their PIDs pids=() for ((i=0; i