Allow slightly too big poll duration in /socket/timed_wait test
authorAntoine Jacoutot <ajacoutot@gnome.org>
Fri, 19 Oct 2012 12:34:18 +0000 (14:34 +0200)
committerAntoine Jacoutot <ajacoutot@gnome.org>
Fri, 19 Oct 2012 12:34:18 +0000 (14:34 +0200)
commit475edeb2edad68b4bef818deb7ee7db92598397f
tree0f3ef3dac93a574d0365ff568faaa44e0501fcc8
parentd906f84a441ad70e42fd6d5eac8837a8a8639aaa
Allow slightly too big poll duration in /socket/timed_wait test

Sometimes the poll duration in the /socket/timed_wait test is slightly
bigger than the requested 100000, causing failures like:

GLib-GIO:ERROR:socket.c:620:test_timed_wait:
    assertion failed (poll_duration < 110000): (110057 < 110000)

Adjust the test to allow some jitter in the "too high" direction.

https://bugzilla.gnome.org/show_bug.cgi?id=686458
gio/tests/socket.c