diff --git a/t/Hydra/Plugin/gitea.t b/t/Hydra/Plugin/gitea.t index 1f8da349..d84c8f57 100644 --- a/t/Hydra/Plugin/gitea.t +++ b/t/Hydra/Plugin/gitea.t @@ -60,6 +60,9 @@ if (!defined($pid = fork())) { kill('INT', $pid); } +# We expect $ctx{jobsdir}/server.py to create the file at $filename, but the time it +# takes to do so is non-deterministic. We need to give it _some_ time to hopefully +# settle -- but not too much that it drastically slows things down. for my $i (1..10) { if (! -f $filename) { diag("$filename does not yet exist");