Skip to content

Commit e8f4cf7

Browse files
committed
selftests: coredump: Raise timeout to 2 minutes
JIRA: https://issues.redhat.com/browse/RHEL-113598 commit c6e888d Author: Nam Cao <namcao@linutronix.de> Date: Fri, 11 Apr 2025 17:09:43 +0200 selftests: coredump: Raise timeout to 2 minutes The test's runtime (nearly 20s) is dangerously close to the limit (30s) on qemu-system-riscv64: $ time ./stackdump_test > /dev/null real 0m19.210s user 0m0.077s sys 0m0.359s There could be machines slower than qemu-system-riscv64. Therefore raise the test timeout to 2 minutes to be safe. Fixes: 15858da ("selftests: coredump: Add stackdump test") Signed-off-by: Nam Cao <namcao@linutronix.de> Link: https://lore.kernel.org/dd636084d55e7828782728d087fa2298dcab1c8b.1744383419.git.namcao@linutronix.de Signed-off-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Waiman Long <longman@redhat.com>
1 parent e8a2236 commit e8f4cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/coredump/stackdump_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ FIXTURE_TEARDOWN(coredump)
8989
fprintf(stderr, "Failed to cleanup stackdump test: %s\n", reason);
9090
}
9191

92-
TEST_F(coredump, stackdump)
92+
TEST_F_TIMEOUT(coredump, stackdump, 120)
9393
{
9494
struct sigaction action = {};
9595
unsigned long long stack;

0 commit comments

Comments
 (0)