Skip to content

Commit

Permalink
Remove sleeps from server tests (ordinals#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Aug 18, 2022
1 parent c19d0a8 commit f61972b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ fn list() {

state.blocks(1);

sleep(Duration::from_secs(1));

state.request(
"api/list/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b:0",
200,
Expand All @@ -28,8 +26,6 @@ fn height() {

state.blocks(1);

sleep(Duration::from_secs(1));

state.request("height", 200, "1");
}

Expand Down Expand Up @@ -127,8 +123,6 @@ fn output() {

state.blocks(1);

sleep(Duration::from_secs(1));

state.request_regex(
"output/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b:0",
200,
Expand Down Expand Up @@ -191,8 +185,6 @@ fn block() {

state.blocks(101);

sleep(Duration::from_secs(1));

state.transaction(TransactionOptions {
slots: &[(1, 0, 0)],
output_count: 1,
Expand Down

0 comments on commit f61972b

Please sign in to comment.