• Simon McVittie's avatar
    dbus-daemon test: Allow much longer for pending fd timeout · ffa3bc17
    Simon McVittie authored
    The timeout we're using here is 0.5s (500ms), but the actual time taken
    is unbounded, because the OS scheduler might not schedule our process
    for an arbitrary length of time after we become runnable.
    
    We previously allowed up to 1 second, but in the CI jobs for !9
    and !18 we've seen this take up to 3.4 seconds (presumably
    because other tests, or other jobs running on the same shared
    infrastructure, starved this process). Allow up to 10 seconds to guard
    against spurious failures.
    
    The timeout used in the production system.conf is 150 seconds (2½
    minutes), and we're only using the shorter 500ms timeout here to make
    the test complete more quickly, so ±10 seconds is relatively
    insignificant: the main thing is that it's finite.
    Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
    (cherry picked from commit 20e6eb7c)
    ffa3bc17
Name
Last commit
Last update
bus Loading commit data...
cmake Loading commit data...
dbus Loading commit data...
doc Loading commit data...
m4 Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
Doxyfile.in Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
NEWS.pre-1-2 Loading commit data...
README Loading commit data...
README.cmake Loading commit data...
README.cygwin Loading commit data...
README.launchd Loading commit data...
README.valgrind Loading commit data...
README.win Loading commit data...
README.wince Loading commit data...
autogen.sh Loading commit data...
cleanup-man-pages.sh Loading commit data...
configure.ac Loading commit data...
dbus-1-uninstalled.pc.in Loading commit data...
dbus-1.pc.in Loading commit data...