Skip to content

Commit

Permalink
test: Add sleep for ethermint node graceful shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Jul 10, 2024
1 parent d20e83b commit 53855c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration_tests/test_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ def test_cosmovisor_upgrade(custom_ethermint: Ethermint):
finally:
time.sleep(5)

time.sleep(60) # wait graceful shutdown for ethermint node

Check failure on line 160 in tests/integration_tests/test_upgrade.py

View workflow job for this annotation

GitHub Actions / Run flake8 on python integration tests

./tests/integration_tests/test_upgrade.py:160:19: E261 at least two spaces before inline comment

# start ethermint
for i in range(2):
with (custom_ethermint.base_dir / f"node{i}.log").open("a") as logfile:
Expand Down

0 comments on commit 53855c3

Please sign in to comment.