faraday/itest/itest.sh
Joost Jager 3aad15ca27
itest: add itest setup with two lnd nodes and a single faraday instance
This commit adds an itest setup which can be used to test faraday's rpc.
The setup is largely copied from our existing loop server itests.
2020-08-12 11:42:09 +02:00

23 lines
410 B
Bash
Executable file

#!/bin/bash
# Exit from script if error was raised.
set -e
# Set exit code of this script to the exit code of the last program to exit
# non-zero. Otherwise failures in programs that are piped into another program
# are ignored.
set -o pipefail
source util.sh
echo "Running integration test $@"
start_bitcoind
start_lnds
cd $WORKDIR
./itest.test -test.run=$@
stop_all
echo "Integration test $@ passed"