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:
Dylan Lott 2018-11-20 16:08:52 -07:00 committed by GitHub
parent dabd87cb36
commit 07b4f3d7e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -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

View File

@ -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=$!