From: Paul Floyd Date: Sat, 25 Jan 2025 19:09:40 +0000 (+0100) Subject: regtest: slacken timing in none/tests/bug492678 X-Git-Tag: VALGRIND_3_25_0~165 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b890b411bfa59a33e8fa0961fedb00ef7aa174d1;p=thirdparty%2Fvalgrind.git 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 --git a/none/tests/bug492678.c b/none/tests/bug492678.c index 6e4ca80f4..c15037bcd 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();