![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Intermittent bug in module: File not getting deleted as expectedby nysus (Parson) |
on Feb 19, 2019 at 18:28 UTC ( #1230180=note: print w/replies, xml ) | Need Help?? |
So, I found the issue, but not the solution. When the test fails, -M $file is a negative value like -1.15740740740741e-05. I can reproduce on a local machine, yes. It happens maybe 10% of the time, which is weird. I had tried adding a delay already. I just tried increasing the delay to a full 2 seconds and that didn't help. When the test fails, I do see the file pop up momentarily in the directory. So it definitely exists (and the previous test proves it).
$PM = "Perl Monk's";
In Section
Seekers of Perl Wisdom
|
|