Skip to content

Commit

Permalink
test delay 1000ms->200ms
Browse files Browse the repository at this point in the history
  • Loading branch information
ckampfe committed Feb 6, 2025
1 parent 4d5cee2 commit e49905f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ mod tests {
.unwrap()
});

tokio::time::sleep(std::time::Duration::from_secs(1)).await;
tokio::time::sleep(std::time::Duration::from_millis(200)).await;

let namespaces: HashSet<String> =
reqwest::get(format!("http://localhost:{port}/channels/namespaces"))
Expand Down Expand Up @@ -399,7 +399,7 @@ mod tests {
.unwrap()
});

tokio::time::sleep(std::time::Duration::from_secs(1)).await;
tokio::time::sleep(std::time::Duration::from_millis(200)).await;

let namespaces: HashSet<String> =
reqwest::get(format!("http://localhost:{port}/channels/namespaces"))
Expand Down

0 comments on commit e49905f

Please sign in to comment.