]> git.ipfire.org Git - thirdparty/glibc.git/commit
sunrpc/tst-udp-timeout: Fix timeout value
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 10 Sep 2017 12:37:28 +0000 (14:37 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 10 Sep 2017 12:37:28 +0000 (14:37 +0200)
commit00c3da43ace363315fb9e70a6d4696de0630f6cf
treea9852d9fa48e8db4add461ccbea52949e2b39b0a
parent96480903ab6f16cba475c02e32827fa4bf2b62b7
sunrpc/tst-udp-timeout: Fix timeout value

2.3 is not representable with double, and thus leads to rounding issues if
the clock is not very precise and the measured delay is then exactly 2.3.

* sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
seconds.
ChangeLog
sunrpc/tst-udp-timeout.c