From 83d6ad03f6845226fc5f4285b37cba4e65659303 Mon Sep 17 00:00:00 2001 From: brentstone Date: Mon, 10 Jul 2023 12:52:37 -0400 Subject: [PATCH] wait for wasm-precompile before expecting block hash --- tests/src/e2e/ledger_tests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/src/e2e/ledger_tests.rs b/tests/src/e2e/ledger_tests.rs index ca7bd974c7..3f22402c2c 100644 --- a/tests/src/e2e/ledger_tests.rs +++ b/tests/src/e2e/ledger_tests.rs @@ -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")?;