[cats-devel] Re: [cats-judge] my_remove bug

  • From: Denis Rotanov <denis@xxxxxxxxxxx>
  • To: cats-devel@xxxxxxxxxxxxx
  • Date: Wed, 17 Jun 2015 11:05:29 +1000


This is why I suggested to have a test for that.
Anyway, there is a "sleep 1" in the code, so should not it be enough if the file
persists for only a second?
It's `$retry and sleep 1;` so happens only after first retry (which is second try). And sometimes even that is not enough.
Just `sleep 1` would be too slow. May be `-f || -l and sleep 1;`

Other related posts: