Cleanup tests a bit
This commit is contained in:
parent
a57e2d34b1
commit
6658421919
|
@ -152,15 +152,13 @@ startRelay() {
|
|||
${SERVER_EXE} relay init --chain1-id=$CHAIN_ID_1 --chain2-id=$CHAIN_ID_2 \
|
||||
--chain1-addr=tcp://localhost:${PORT_1} --chain2-addr=tcp://localhost:${PORT_2} \
|
||||
--genesis1=${BASE_DIR_1}/server/genesis.json --genesis2=${BASE_DIR_2}/server/genesis.json \
|
||||
--home=${BASE_DIR_1}/server --from=$RELAY_KEY > ${BASE_DIR_1}/../relay.log &
|
||||
--from=$RELAY_KEY > ${BASE_DIR_1}/../relay.log &
|
||||
if [ $? != 0 ]; then echo "can't initialize relays"; cat ${BASE_DIR_1}/../relay.log; return 1; fi
|
||||
|
||||
# now start the relay (constantly send packets)
|
||||
# TODO: bucky, why does this die if I don't provide home???
|
||||
# It doesn't use the --from flag????
|
||||
${SERVER_EXE} relay start --chain1-id=$CHAIN_ID_1 --chain2-id=$CHAIN_ID_2 \
|
||||
--chain1-addr=tcp://localhost:${PORT_1} --chain2-addr=tcp://localhost:${PORT_2} \
|
||||
--home=${BASE_DIR_1}/server --from=$RELAY_KEY > ${BASE_DIR_1}/../relay.log &
|
||||
--from=$RELAY_KEY > ${BASE_DIR_1}/../relay.log &
|
||||
PID_RELAY=$!
|
||||
echo starting relay $PID_RELAY ...
|
||||
|
||||
|
|
Loading…
Reference in New Issue