mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 17:55:36 +01:00
Merge pull request #9021 from aakselrod/run-nativesql-itests
itest: ensure LND gets correct CLI options when itest are parallel
This commit is contained in:
commit
8939a217c3
2 changed files with 7 additions and 3 deletions
|
@ -73,6 +73,9 @@ would create a blinded route with a minHTLC greater than the actual payment
|
||||||
amount. Moreover remove strict correlation between min_cltv_delta and the
|
amount. Moreover remove strict correlation between min_cltv_delta and the
|
||||||
blinded path expiry.
|
blinded path expiry.
|
||||||
|
|
||||||
|
* [Fixed](https://github.com/lightningnetwork/lnd/pull/9021) an issue with some
|
||||||
|
command-line arguments not being passed when running `make itest-parallel`.
|
||||||
|
|
||||||
# New Features
|
# New Features
|
||||||
## Functional Enhancements
|
## Functional Enhancements
|
||||||
## RPC Additions
|
## RPC Additions
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
# Get all the variables.
|
# Get all the variables.
|
||||||
PROCESSES=$1
|
PROCESSES=$1
|
||||||
TRANCHES=$2
|
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.
|
# Create a variable to hold the final exit code.
|
||||||
exit_code=0
|
exit_code=0
|
||||||
|
@ -12,7 +13,7 @@ exit_code=0
|
||||||
# Run commands using xargs in parallel and capture their PIDs
|
# Run commands using xargs in parallel and capture their PIDs
|
||||||
pids=()
|
pids=()
|
||||||
for ((i=0; i<PROCESSES; i++)); do
|
for ((i=0; i<PROCESSES; i++)); do
|
||||||
scripts/itest_part.sh $i $TRANCHES $TEST_FLAGS $ITEST_FLAGS &
|
scripts/itest_part.sh $i $TRANCHES $@ &
|
||||||
pids+=($!)
|
pids+=($!)
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue