Skip to content

Commit e49905f

Browse files
committed
test delay 1000ms->200ms
1 parent 4d5cee2 commit e49905f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ mod tests {
347347
.unwrap()
348348
});
349349

350-
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
350+
tokio::time::sleep(std::time::Duration::from_millis(200)).await;
351351

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

402-
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
402+
tokio::time::sleep(std::time::Duration::from_millis(200)).await;
403403

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

0 commit comments

Comments
 (0)