Skip to content

Commit eb13072

Browse files
committed
Increase retry limit for downloading hash from peers test
1 parent 54faf88 commit eb13072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ mod tests {
882882
sleep(Duration::from_secs(2)).await;
883883

884884
// Download hash from peers
885-
let mut retries = 5;
885+
let mut retries = 10;
886886
while retries > 0 {
887887
if group2.download_hash_from_peers(&file_hash).await.is_ok() {
888888
println!("Download success!");

0 commit comments

Comments
 (0)