updates the refresh interval in captplanet test script (#695)
* updates the refresh interval in captplanet test script * remove sleep 25 line because unnecessary
This commit is contained in:
parent
dabd87cb36
commit
07b4f3d7e3
2
go.mod
2
go.mod
@ -115,4 +115,4 @@ require (
|
||||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
|
||||
)
|
||||
|
||||
exclude gopkg.in/olivere/elastic.v5 v5.0.72 // buggy import, see https://github.com/olivere/elastic/pull/869
|
||||
exclude gopkg.in/olivere/elastic.v5 v5.0.72 // buggy import, see https://github.com/olivere/elastic/pull/869
|
||||
|
@ -3,7 +3,7 @@ set -ueo pipefail
|
||||
go install -v storj.io/storj/cmd/captplanet
|
||||
|
||||
captplanet setup --overwrite
|
||||
sed -i~ 's/interval:.*/interval: 3s/g' $HOME/.storj/capt/config.yaml
|
||||
sed -i~ 's/interval:.*/interval: 1s/g' $HOME/.storj/capt/config.yaml
|
||||
|
||||
# run captplanet for 5 seconds to reproduce kademlia problems. See V3-526
|
||||
captplanet run &
|
||||
@ -76,7 +76,7 @@ fi
|
||||
kill -9 $CAPT_PID
|
||||
|
||||
captplanet setup --listen-host ::1 --overwrite
|
||||
sed -i~ 's/interval:.*/interval: 3s/g' $HOME/.storj/capt/config.yaml
|
||||
sed -i~ 's/interval:.*/interval: 1s/g' $HOME/.storj/capt/config.yaml
|
||||
captplanet run &
|
||||
CAPT_PID=$!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user