Skip to content

Commit 4f8b5ba

Browse files
committed
fix(test): relax time a bit
1 parent 64979e5 commit 4f8b5ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asyncgit/src/sync/hooks.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ mod tests {
303303
let root = repo.path().parent().unwrap();
304304

305305
let hook = b"#!/usr/bin/env sh
306-
sleep 0.21
306+
sleep 0.250
307307
";
308308

309309
git2_hooks::create_hook(
@@ -338,7 +338,7 @@ mod tests {
338338

339339
let res = hooks_pre_commit_with_timeout(
340340
&root.to_str().unwrap().into(),
341-
Duration::from_millis(110),
341+
Duration::from_millis(150),
342342
)
343343
.unwrap();
344344

0 commit comments

Comments
 (0)