Skip to content

Commit c6e888d

Browse files
covanambrauner
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/dd636084d55e7828782728d087fa2298dcab1c8b.1744383419.git.namcao@linutronix.de Signed-off-by: Christian Brauner <[email protected]>
1 parent 6f5bf9f commit c6e888d

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)