Skip to content

Commit

Permalink
add ZETACORED_START_PERIOD and allow user to set E2E_ARGS
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Jun 20, 2024
1 parent 507161b commit 7c1f799
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ HSM_BUILD_FLAGS := -tags pebbledb,ledger,hsm_test

export DOCKER_BUILDKIT := 1
# set defaults to empty to prevent docker warning
export LOCALNET_MODE := ""
export E2E_ARGS := ""
export UPGRADE_HEIGHT := ""
export LOCALNET_MODE
export E2E_ARGS := $(E2E_ARGS)
export UPGRADE_HEIGHT
export ZETACORED_START_PERIOD := 30s

clean: clean-binaries clean-dir clean-test-dir clean-coverage

Expand Down
2 changes: 1 addition & 1 deletion contrib/localnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
start_period: ${ZETACORED_START_PERIOD}
start_interval: 1s
networks:
mynetwork:
Expand Down

0 comments on commit 7c1f799

Please sign in to comment.