From f1176685dd722af43ee2c5c4d6d6262a72d698c4 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Mon, 12 Jun 2023 11:08:33 -0700 Subject: [PATCH] pause time on more tests --- web3_proxy/src/rpcs/many.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web3_proxy/src/rpcs/many.rs b/web3_proxy/src/rpcs/many.rs index f47da3a7..b8eb850f 100644 --- a/web3_proxy/src/rpcs/many.rs +++ b/web3_proxy/src/rpcs/many.rs @@ -1400,7 +1400,7 @@ mod tests { assert_eq!(names_in_sort_order, ["c", "b", "a", "f", "e", "d"]); } - #[tokio::test] + #[tokio::test(start_paused = true)] async fn test_server_selection_by_height() { // TODO: do this better. can test_env_logger and tokio test be stacked? let _ = env_logger::builder() @@ -1694,7 +1694,7 @@ mod tests { assert!(matches!(future_rpc, Ok(OpenRequestResult::NotReady))); } - #[tokio::test] + #[tokio::test(start_paused = true)] async fn test_server_selection_by_archive() { // TODO: do this better. can test_env_logger and tokio test be stacked? let _ = env_logger::builder()