-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I got failure of 02_sleep_system test sometimes:
# Failed test 'Daemon not running.'
# at t/02_sleep_system.t line 38.
# 'My Daemon [Running]'
# doesn't match '(?^:\[Not Running\])'
# Failed test 'Exit Status = 3'
# at t/02_sleep_system.t line 39.
# Looks like you failed 2 tests of 18.
t/02_sleep_system.t ...............
Dubious, test returned 2 (wstat 512, 0x200)
From what I can see in code
t/bin/02_sleep_system.pl is supposed to sleep for 10 seconds and die and
t/02_sleep_system.t starts the process, sleeps for 10 seconds as well and checks if the process died already.
This looks like a pure race to me and is likely to fail on system under load.
If I'm right there should be longer sleep in test, should be not?
eserte
Metadata
Metadata
Assignees
Labels
No labels