diff --git a/substrate/serai/client/tests/runner.rs b/substrate/serai/client/tests/runner.rs index 1e9e7444..777d5700 100644 --- a/substrate/serai/client/tests/runner.rs +++ b/substrate/serai/client/tests/runner.rs @@ -106,6 +106,9 @@ macro_rules! serai_test { while Serai::new(URL).await.is_err() { tokio::time::sleep(Duration::from_secs(1)).await; } + while Serai::new(URL).await.unwrap().get_latest_block_hash().await.is_err() { + tokio::time::sleep(Duration::from_secs(1)).await; + } command };