Skip to content

Commit 63acc53

Browse files
committed
fix(test): relax time a bit
1 parent 687c899 commit 63acc53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asyncgit/src/sync/hooks.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ mod tests {
253253
let root = repo.path().parent().unwrap();
254254

255255
let hook = b"#!/usr/bin/env sh
256-
sleep 0.21
256+
sleep 0.250
257257
";
258258

259259
git2_hooks::create_hook(
@@ -288,7 +288,7 @@ mod tests {
288288

289289
let res = hooks_pre_commit_with_timeout(
290290
&root.to_str().unwrap().into(),
291-
Duration::from_millis(110),
291+
Duration::from_millis(150),
292292
)
293293
.unwrap();
294294

0 commit comments

Comments
 (0)