From 4db899d3d93ccd670c426224ee84dbcdbf644fec Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Wed, 17 Aug 2022 17:40:50 -0700 Subject: [PATCH] Remove sleeps from server tests --- tests/server.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/server.rs b/tests/server.rs index 8209ca1fb1..306689a177 100644 --- a/tests/server.rs +++ b/tests/server.rs @@ -6,8 +6,6 @@ fn list() { state.blocks(1); - sleep(Duration::from_secs(1)); - state.request( "api/list/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b:0", 200, @@ -28,8 +26,6 @@ fn height() { state.blocks(1); - sleep(Duration::from_secs(1)); - state.request("height", 200, "1"); } @@ -127,8 +123,6 @@ fn output() { state.blocks(1); - sleep(Duration::from_secs(1)); - state.request_regex( "output/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b:0", 200, @@ -191,8 +185,6 @@ fn block() { state.blocks(101); - sleep(Duration::from_secs(1)); - state.transaction(TransactionOptions { slots: &[(1, 0, 0)], output_count: 1,