]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
regtest: slacken timing in none/tests/bug492678
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 25 Jan 2025 19:09:40 +0000 (20:09 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 25 Jan 2025 19:09:40 +0000 (20:09 +0100)
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.

none/tests/bug492678.c

index 6e4ca80f4dc7395d7e406a7b17a8561cb50aacf8..c15037bcd5728cd395d2704a8cd9124f8c84c790 100644 (file)
@@ -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();