Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
okwme committed Jul 4, 2022
1 parent 9e8ff0b commit e7e043e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
if: env.GIT_DIFF
- name: Start Local Network
run: |
make start-localnet-ci
make start-localnet-ci > liveness.out 2>&1 &
if: env.GIT_DIFF
- name: Test Local Network Liveness
run: |
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,6 @@ format:
###############################################################################

start-localnet-ci:
go env
ls ${GOPATH}
ls ${GOPATH}/bin
ls ${GOPATH}/pkg
ls build
./build/gaiad init liveness --chain-id liveness --home ~/.gaiad-liveness
./build/gaiad config chain-id liveness --home ~/.gaiad-liveness
./build/gaiad config keyring-backend test --home ~/.gaiad-liveness
Expand Down
2 changes: 2 additions & 0 deletions contrib/scripts/test_localnet_liveness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ docker_containers=($(docker ps -q -f name=umeed --format='{{.Names}}'))

while [ ${CNT} -lt $ITER ]; do
curr_block=$(curl -s $NODEADDR:26657/status | jq -r '.result.sync_info.latest_block_height')

tail liveness.out

if [ ! -z ${curr_block} ]; then
echo "Current block: ${curr_block}"
Expand Down

0 comments on commit e7e043e

Please sign in to comment.