From: Paul F. <pa...@so...> - 2025-01-25 19:12:27
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=b890b411bfa59a33e8fa0961fedb00ef7aa174d1 commit b890b411bfa59a33e8fa0961fedb00ef7aa174d1 Author: Paul Floyd <pj...@wa...> Date: Sat Jan 25 20:09:40 2025 +0100 regtest: slacken timing in none/tests/bug492678 With a 1us interval some systems intermittently (but quite frequently) hang. Increasing it to 5us seems to make it consistent. Will keep an eye on this one. Diff: --- none/tests/bug492678.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/none/tests/bug492678.c b/none/tests/bug492678.c index 6e4ca80f4d..c15037bcd5 100644 --- a/none/tests/bug492678.c +++ b/none/tests/bug492678.c @@ -89,7 +89,7 @@ static void try_race_condition(void) ++tries; const struct timeval clk_period = { .tv_sec = 0, - .tv_usec = 1, + .tv_usec = 5, }; sigalrm_timer_setup(&clk_period); sigalrm_timer_destroy(); |