tests pass local, but jenkins isn't as fast
This commit is contained in:
parent
b5ae11b7f7
commit
ba702c7647
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user