Skip to content

Conversation

@tzemanovic
Copy link
Collaborator

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
Contributor

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.

4 participants