Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix flakey e2e tests #661

Merged
merged 3 commits into from
Oct 31, 2022
Merged

fix flakey e2e tests #661

merged 3 commits into from
Oct 31, 2022

Conversation

tzemanovic
Copy link
Member

depends on #659

With the new version of tendermint from #510, a non-validator sometimes syncs without applying txs. This can make e2e tests where we're checking txs result in the node's log fail.

To deal with this in a more reliable way, we first check the block height after the tx is applied in a validator node and wait for the non-validator node to be synced to the same height (#659), before checking the state via another client query.

@sug0 sug0 mentioned this pull request Oct 21, 2022
@juped
Copy link
Member

juped commented Oct 24, 2022

since this doesn't change the node and barely changes the client i'm going to skip devnet tests

tzemanovic added a commit that referenced this pull request Oct 26, 2022
* tomas/flakey-e2e-tests:
  test/e2e/helpers: add a helper to query and parse block height
  changelog: add #658
  client: add a block query to print hash, height and time of a block
@tzemanovic tzemanovic mentioned this pull request Oct 26, 2022
9 tasks
@juped juped merged commit e4d705f into main Oct 31, 2022
@juped juped deleted the tomas/flakey-e2e-tests branch October 31, 2022 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants