mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 14:57:38 +02:00
itest: remove unused flag goroutineDump
This commit is contained in:
@@ -45,11 +45,6 @@ var (
|
|||||||
// logOutput is true.
|
// logOutput is true.
|
||||||
logSubDir = flag.String("logdir", ".", "default dir to write logs to")
|
logSubDir = flag.String("logdir", ".", "default dir to write logs to")
|
||||||
|
|
||||||
// goroutineDump is a flag that can be set to dump the active
|
|
||||||
// goroutines of test nodes on failure.
|
|
||||||
goroutineDump = flag.Bool("goroutinedump", false,
|
|
||||||
"write goroutine dump from node n to file pprof-n.log")
|
|
||||||
|
|
||||||
// btcdExecutable is the full path to the btcd binary.
|
// btcdExecutable is the full path to the btcd binary.
|
||||||
btcdExecutable = flag.String(
|
btcdExecutable = flag.String(
|
||||||
"btcdexec", "", "full path to btcd binary",
|
"btcdexec", "", "full path to btcd binary",
|
||||||
|
@@ -16,9 +16,9 @@ shift
|
|||||||
EXEC="$WORKDIR"/itest.test"$EXEC_SUFFIX"
|
EXEC="$WORKDIR"/itest.test"$EXEC_SUFFIX"
|
||||||
LND_EXEC="$WORKDIR"/lnd-itest"$EXEC_SUFFIX"
|
LND_EXEC="$WORKDIR"/lnd-itest"$EXEC_SUFFIX"
|
||||||
BTCD_EXEC="$WORKDIR"/btcd-itest"$EXEC_SUFFIX"
|
BTCD_EXEC="$WORKDIR"/btcd-itest"$EXEC_SUFFIX"
|
||||||
echo $EXEC -test.v "$@" -logoutput -goroutinedump -logdir=.logs-tranche$TRANCHE -lndexec=$LND_EXEC -btcdexec=$BTCD_EXEC -splittranches=$NUM_TRANCHES -runtranche=$TRANCHE
|
echo $EXEC -test.v "$@" -logoutput -logdir=.logs-tranche$TRANCHE -lndexec=$LND_EXEC -btcdexec=$BTCD_EXEC -splittranches=$NUM_TRANCHES -runtranche=$TRANCHE
|
||||||
|
|
||||||
# Exit code 255 causes the parallel jobs to abort, so if one part fails the
|
# Exit code 255 causes the parallel jobs to abort, so if one part fails the
|
||||||
# other is aborted too.
|
# other is aborted too.
|
||||||
cd "$WORKDIR" || exit 255
|
cd "$WORKDIR" || exit 255
|
||||||
$EXEC -test.v "$@" -logoutput -goroutinedump -logdir=.logs-tranche$TRANCHE -lndexec=$LND_EXEC -btcdexec=$BTCD_EXEC -splittranches=$NUM_TRANCHES -runtranche=$TRANCHE || exit 255
|
$EXEC -test.v "$@" -logoutput -logdir=.logs-tranche$TRANCHE -lndexec=$LND_EXEC -btcdexec=$BTCD_EXEC -splittranches=$NUM_TRANCHES -runtranche=$TRANCHE || exit 255
|
||||||
|
Reference in New Issue
Block a user