test/backwards-compatibility: fix port change (#3509)
This commit is contained in:
parent
0885eaa183
commit
3b18c864dc
@ -51,7 +51,9 @@ PATH=$RELEASE_DIR/bin:$PATH storj-sim -x --host $STORJ_NETWORK_HOST4 network tes
|
|||||||
sed -i -e 's#/release/#/branch/#g' `storj-sim network env SATELLITE_0_DIR`/config.yaml
|
sed -i -e 's#/release/#/branch/#g' `storj-sim network env SATELLITE_0_DIR`/config.yaml
|
||||||
|
|
||||||
# replace any 140XX port with 100XX port to fix, satellite.API part removal from satellite.Core
|
# replace any 140XX port with 100XX port to fix, satellite.API part removal from satellite.Core
|
||||||
sed -i -e "s#$STORJ_NETWORK_HOST4:100#$STORJ_NETWORK_HOST4:140#g" `storj-sim network env SATELLITE_0_DIR`/config.yaml
|
sed -i -e "s#$STORJ_NETWORK_HOST4:140#$STORJ_NETWORK_HOST4:100#g" `storj-sim network env SATELLITE_0_DIR`/config.yaml
|
||||||
|
|
||||||
|
# create redis config if it's missing
|
||||||
REDIS_CONFIG=$(storj-sim network env REDIS_0_DIR)/redis.conf
|
REDIS_CONFIG=$(storj-sim network env REDIS_0_DIR)/redis.conf
|
||||||
if [ ! -f "$REDIS_CONFIG" ] ; then
|
if [ ! -f "$REDIS_CONFIG" ] ; then
|
||||||
echo "daemonize no" >> $REDIS_CONFIG
|
echo "daemonize no" >> $REDIS_CONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user