summaryrefslogtreecommitdiff
path: root/test/test_mount.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2022-01-02 14:36:24 -0700
committerAlan Somers <asomers@gmail.com>2022-01-02 15:06:24 -0700
commite5b9b972b2e61a0bda96f1fadb2fa3b60a4b7690 (patch)
tree56b77243a488521b7ba53f3f5e9ea8d4298664ff /test/test_mount.rs
parentee0543f126f2161302ab375dd657d3ef8b423f8a (diff)
downloadnix-e5b9b972b2e61a0bda96f1fadb2fa3b60a4b7690.zip
Fix intermittency in test_timer::alarm_fires
The test was disabling the signal handler before disabling the timer. Fix intermittent failures by: * Reversing the cleanup order. * Sleeping for a while before removing the signal handler, since POSIX does not guarantee that timer_delete will clear pending signals. Also, speed up the timer to make the test suite complete faster.
Diffstat (limited to 'test/test_mount.rs')
0 files changed, 0 insertions, 0 deletions