From 38f0cd761cb12a147c19164655b7e51a2bb7e436 Mon Sep 17 00:00:00 2001 From: MicaiahReid Date: Thu, 22 Jun 2023 10:25:55 -0400 Subject: [PATCH] remove sleep --- src/lib.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 9216f24..d8e9d4e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; @@ -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 {