• 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
..
data Loading commit data...
integration Loading commit data...
internals Loading commit data...
name-test Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
corrupt.c Loading commit data...
dbus-daemon-eavesdrop.c Loading commit data...
dbus-daemon.c Loading commit data...
dbus-test-runner Loading commit data...
fdpass.c Loading commit data...
glib-tap-test.sh Loading commit data...
loopback.c Loading commit data...
manual-authz.c Loading commit data...
manual-backtrace.c Loading commit data...
manual-dir-iter.c Loading commit data...
manual-paths.c Loading commit data...
manual-tcp.c Loading commit data...
marshal.c Loading commit data...
message.c Loading commit data...
monitor.c Loading commit data...
relay.c Loading commit data...
sd-activation.c Loading commit data...
shell-test.c Loading commit data...
spawn-test.c Loading commit data...
syntax.c Loading commit data...
tap-test.sh.in Loading commit data...
test-apparmor-activation.sh Loading commit data...
test-dbus-daemon-fork.sh Loading commit data...
test-dbus-launch-eval.sh Loading commit data...
test-dbus-launch-x11.sh Loading commit data...
test-exit.c Loading commit data...
test-names.c Loading commit data...
test-segfault.c Loading commit data...
test-service.c Loading commit data...
test-shell-service.c Loading commit data...
test-sleep-forever.c Loading commit data...
test-utils-glib.c Loading commit data...
test-utils-glib.h Loading commit data...
test-utils.c Loading commit data...
test-utils.h Loading commit data...
thread-blocking.c Loading commit data...
uid-permissions.c Loading commit data...