Skip to content

Commit

Permalink
fix: itest kill script
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Oct 8, 2024
1 parent 24b637e commit 73c7ae8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions misc/itests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cleanup() {

# Kill the Rust binary process
echo "Killing the Rust binary with PID $RUST_BIN_PID"
# kill $CDK_ITEST_MINT_BIN_PID
kill $CDK_ITEST_MINT_BIN_PID

# Wait for the Rust binary to terminate
wait $CDK_ITEST_MINT_BIN_PID
Expand All @@ -15,11 +15,11 @@ cleanup() {

# Kill processes
lncli --lnddir="$cdk_itests/lnd" --network=regtest stop
# lightning-cli --regtest --lightning-dir="$cdk_itests/cln/" stop
# bitcoin-cli --datadir="$cdk_itests/bitcoin" -rpcuser=testuser -rpcpassword=testpass -rpcport=18443 stop
lightning-cli --regtest --lightning-dir="$cdk_itests/cln/" stop
bitcoin-cli --datadir="$cdk_itests/bitcoin" -rpcuser=testuser -rpcpassword=testpass -rpcport=18443 stop

# Remove the temporary directory
# rm -rf "$cdk_itests"
rm -rf "$cdk_itests"
echo "Temp directory removed: $cdk_itests"
unset cdk_itests
unset cdk_itests_mint_addr
Expand Down

0 comments on commit 73c7ae8

Please sign in to comment.