]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: make inotify-rotate more robust and efficient
authorPádraig Brady <P@draigBrady.com>
Wed, 29 Oct 2014 14:08:05 +0000 (14:08 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 30 Oct 2014 00:06:11 +0000 (00:06 +0000)
commit111a2b91da142bf6fb9edb7836c1979ba698cf6e
treee8f4a8806cfbf1397558a7a7b523b3568247f634
parent02e281e1b27b0e4e28918b4bc5e026e9aca51647
tests: make inotify-rotate more robust and efficient

* tests/tail-2/inotify-rotate.sh: Use retry_delay_
to employ an exponential backoff with a total delay of
up to 25.5s.  The 15s delay was seen to trigger a false
failure in http://hydra.nixos.org/build/16546517
Also remove the .1s sleep in each of the 50 iterations
to reduce the running time of the test and thus the
expensive_ tag on this test was removed.
Also ensure that we use the standard exit procedure
upon failure to avoid any erroneous diagnostics due
to persistent files on NFS.
tests/tail-2/inotify-rotate.sh