Skip to content

Commit

Permalink
remove sleep from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zvolin committed Dec 19, 2024
1 parent b04e880 commit 74e461d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions grpc/tests/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ pub fn load_account() -> TestAccount {

#[cfg(not(target_arch = "wasm32"))]
mod imp {
use std::time::Duration;
use std::{future::Future, sync::OnceLock};

use celestia_grpc::{GrpcClient, TxClient};
Expand Down Expand Up @@ -85,10 +84,6 @@ mod imp {
(lock, client)
}

pub async fn sleep(duration: Duration) {
tokio::time::sleep(duration).await;
}

pub fn spawn<F>(future: F) -> tokio::task::JoinHandle<()>
where
F: Future<Output = ()> + Send + 'static,
Expand All @@ -100,7 +95,6 @@ mod imp {
#[cfg(target_arch = "wasm32")]
mod imp {
use std::future::Future;
use std::time::Duration;

use celestia_grpc::{GrpcClient, TxClient};
use tokio::sync::oneshot;
Expand Down

0 comments on commit 74e461d

Please sign in to comment.