This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26-328-g00c3da4
- From: sthibaul at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 10 Sep 2017 12:41:42 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26-328-g00c3da4
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 00c3da43ace363315fb9e70a6d4696de0630f6cf (commit)
from 96480903ab6f16cba475c02e32827fa4bf2b62b7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=00c3da43ace363315fb9e70a6d4696de0630f6cf
commit 00c3da43ace363315fb9e70a6d4696de0630f6cf
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Sep 10 14:37:28 2017 +0200
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.
diff --git a/ChangeLog b/ChangeLog
index 45f1225..a31824b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
+ seconds.
+
2017-09-09 Mike FABIAN <mfabian@redhat.com>
[BZ #14925]
diff --git a/sunrpc/tst-udp-timeout.c b/sunrpc/tst-udp-timeout.c
index db9943a..7ceba98 100644
--- a/sunrpc/tst-udp-timeout.c
+++ b/sunrpc/tst-udp-timeout.c
@@ -352,13 +352,13 @@ test_udp_server (int port)
.a = 170, .b = 40, .timeout_ms = 3000,
.garbage_packets = with_garbage * 30
},
- (struct timeval) { 2, 300 * 1000 });
+ (struct timeval) { 2, 500 * 1000 });
after = get_ticks ();
if (test_verbose)
- printf ("info: test_udp_server: 2.3 second timeout took %f seconds"
+ printf ("info: test_udp_server: 2.5 second timeout took %f seconds"
" (garbage %d)\n",
after - before, with_garbage);
- TEST_VERIFY (2.3 <= after - before);
+ TEST_VERIFY (2.5 <= after - before);
TEST_VERIFY (after - before < 3.0);
test_call_flush (clnt);
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sunrpc/tst-udp-timeout.c | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources