Skip to content

Commit

Permalink
Merge branch 'origin/tomas/fix-flaky-e2e-invalid-txs' (#1614)
Browse files Browse the repository at this point in the history
* origin/tomas/fix-flaky-e2e-invalid-txs:
  test/e2e/invalid_txs: wait for a block after restart
  • Loading branch information
Fraccaman committed Jun 23, 2023
2 parents d451284 + 65aa4c9 commit de9dedc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/e2e/ledger_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1800,6 +1800,8 @@ fn invalid_transactions() -> Result<()> {

// There should be previous state now
ledger.exp_string("Last state root hash:")?;
// Wait for a block by which time the RPC should be ready
ledger.exp_string("Committed block hash")?;
let _bg_ledger = ledger.background();

// 5. Submit an invalid transactions (invalid token address)
Expand Down

0 comments on commit de9dedc

Please sign in to comment.