Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Feb 28, 2024
1 parent f31dc65 commit 9fd2170
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## UNRELEASED

### Bug Fixes

- [#1329](https://github.com/crypto-org-chain/cronos/pull/1329) Update cosmos-sdk to `v0.47.10`.

*February 19, 2024*

## v1.1.0-rc4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import json

import pytest
from pystarport import ports

from .utils import wait_for_block, wait_for_port
Expand All @@ -26,12 +27,8 @@ def assert_chain_id(chain_id, timeout=None):
if timeout is None:
wait_for_block(cli, height)
else:
try:
print(f"should assert timeout err when pass {timeout}s")
with pytest.raises(TimeoutError):
wait_for_block(cli, height, timeout)
except TimeoutError:
raised = True
assert raised

assert_chain_id(776, 5)
cronos.supervisorctl("stop", n0)
Expand Down

0 comments on commit 9fd2170

Please sign in to comment.