Skip to content

Commit

Permalink
Merge branch 'brent/fix-test-genesis-validators' (#1698)
Browse files Browse the repository at this point in the history
* brent/fix-test-genesis-validators:
  wait for wasm-precompile before expecting block hash
  • Loading branch information
brentstone committed Jul 10, 2023
2 parents f61b635 + 83d6ad0 commit de5bb98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/src/e2e/ledger_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4269,15 +4269,15 @@ fn test_genesis_validators() -> Result<()> {
non_validator.exp_string("Namada ledger node started")?;
non_validator.exp_string("This node is not a validator")?;

wait_for_wasm_pre_compile(&mut validator_0)?;
wait_for_wasm_pre_compile(&mut validator_1)?;
wait_for_wasm_pre_compile(&mut non_validator)?;

// Wait for a first block
validator_0.exp_string("Committed block hash")?;
validator_1.exp_string("Committed block hash")?;
non_validator.exp_string("Committed block hash")?;

wait_for_wasm_pre_compile(&mut validator_0)?;
wait_for_wasm_pre_compile(&mut validator_1)?;
wait_for_wasm_pre_compile(&mut non_validator)?;

// Wait for a first block
validator_0.exp_string("Committed block hash")?;
validator_1.exp_string("Committed block hash")?;
Expand Down

0 comments on commit de5bb98

Please sign in to comment.