Start offchain-relayer process in integration test script (#12)
Co-authored-by: Drew <dsterioti@users.noreply.github.com>
This commit is contained in:
parent
86c5f26b54
commit
7a75a33d19
|
@ -6,8 +6,15 @@ if [ $? -ne 0 ]; then
|
|||
exit 1;
|
||||
fi
|
||||
|
||||
# start the offchain-relayer process
|
||||
echo "Starting off-chain relayer process."
|
||||
cd $(dirname $0)/../offchain-relayer && ./start-relayer.sh > offchain-relayer.out 2>&1 &
|
||||
|
||||
# go to the sdk directory
|
||||
cd $(dirname $0)/../sdk
|
||||
|
||||
# run tests in sdk directory
|
||||
npm run test
|
||||
npm run test
|
||||
|
||||
# kill the offchain-relayer process
|
||||
pkill -f "exe/main relay"
|
Loading…
Reference in New Issue