[Devel] [PATCH vz10 2/2] selftests: cgroup: add a settings file with a longer timeout
Eva Kurchatova
eva.kurchatova at virtuozzo.com
Tue Sep 1 02:36:55 MSK 2026
The cgroup tests ship no settings file, so the runner applies its
default of 45 seconds per test. test_memcontrol and test_zswap both
run longer than that and are killed mid-test:
not ok 1 selftests: cgroup: test_memcontrol # TIMEOUT 45 seconds
Add a settings file asking for 300 seconds. Upstream ships no settings
file for cgroup, and the value reflects the speed of the machine rather
than anything about the kernel, so it stays in this tree.
https://virtuozzo.atlassian.net/browse/VSTOR-139649
Feature: fix vz selftests
Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
---
tools/testing/selftests/cgroup/settings | 1 +
1 file changed, 1 insertion(+)
create mode 100644 tools/testing/selftests/cgroup/settings
diff --git a/tools/testing/selftests/cgroup/settings b/tools/testing/selftests/cgroup/settings
new file mode 100644
index 000000000000..694d70710ff0
--- /dev/null
+++ b/tools/testing/selftests/cgroup/settings
@@ -0,0 +1 @@
+timeout=300
--
2.55.0
More information about the Devel
mailing list