[Devel] [PATCH vz10] selftests: pidfd: add a settings file with a longer timeout
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Sep 16 19:55:49 MSK 2026
> The pidfd directory has no settings file, so every test in it gets the
> 45 second default. On a slow node with a coverage kernel pidfd_test
> runs past that and is killed while it is still passing:
>
> not ok 1 selftests: pidfd: pidfd_test # TIMEOUT 45 seconds
>
> Ask for 300 seconds, as cgroup and kmod already do. The setting is per
> directory, so the other pidfd tests get the same limit.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-139651
>
> Feature: fix selftests
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
i've changed commit message a bit, but overall - ack.
>
> diff --git a/tools/testing/selftests/pidfd/settings b/tools/testing/selftests/pidfd/settings
> new file mode 100644
> index 0000000000000..694d70710ff08
> --- /dev/null
> +++ b/tools/testing/selftests/pidfd/settings
> @@ -0,0 +1 @@
> +timeout=300
Reviewed-by: Konstantin Khorenko <khorenko at virtuozzo.com>
--
Konstantin Khorenko <khorenko at virtuozzo.com>
More information about the Devel
mailing list