tests pass local, but jenkins isn't as fast

This commit is contained in:
Bryan Stitt 2023-06-24 21:27:11 -07:00
parent b5ae11b7f7
commit ba702c7647

View File

@ -269,7 +269,7 @@ mod tests {
};
use tokio::{
sync::broadcast::error::SendError,
task::JoinHandle,
task::{yield_now, JoinHandle},
time::{sleep, Instant},
};
use web3_proxy::{
@ -425,6 +425,8 @@ mod tests {
.await
.unwrap();
yield_now().await;
// make sure the block advanced
let anvil_result = anvil_provider
.request::<_, Option<ArcBlock>>("eth_getBlockByNumber", ("latest", false))