Skip to content

Commit

Permalink
fix unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rklaehn committed Nov 12, 2024
1 parent bf8338c commit e87f0a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/client.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use std::time::Duration;

use anyhow::{Context, Result};
use futures_util::TryStreamExt;
use iroh_blobs::{
Expand Down Expand Up @@ -208,7 +206,7 @@ async fn test_default_author_persist() -> TestResult<()> {
// somehow the blob store is not shutdown correctly (yet?) on macos.
// so we give it some time until we find a proper fix.
#[cfg(target_os = "macos")]
tokio::time::sleep(Duration::from_secs(1)).await;
tokio::time::sleep(std::time::Duration::from_secs(1)).await;

tokio::fs::remove_file(iroh_root.join("default-author")).await?;
drop(iroh);
Expand Down

0 comments on commit e87f0a9

Please sign in to comment.