Skip to content

Commit

Permalink
remove sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
MicaiahReid committed Jun 22, 2023
1 parent 9b64edc commit 38f0cd7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ use resources::{
StacksDevnetResource,
};
use serde::{de::DeserializeOwned, Deserialize, Serialize};
use std::thread::sleep;
use std::{collections::BTreeMap, str::FromStr, time::Duration};
use std::{collections::BTreeMap, str::FromStr};
use strum::IntoEnumIterator;
use tower::BoxError;

Expand Down Expand Up @@ -171,10 +170,8 @@ impl StacksDevnetApiK8sManager {
});
}
}
self.deploy_bitcoin_node_pod(&config).await?;

sleep(Duration::from_secs(5));

self.deploy_bitcoin_node_pod(&config).await?;
self.deploy_stacks_node_pod(&config).await?;

if !config.disable_stacks_api {
Expand Down

0 comments on commit 38f0cd7

Please sign in to comment.