shmctl05: extend timeout to 120 seconds
PATCH 1/1 shmctl05: extend timeout to 120 seconds
This patch is a following to fuzzy sync library update because that makes shmctl05 cost almost 34 seconds in sampling phase on slow system, so here prolong test timeout beyond triple of the consumption to avoid exiting early with warning.
# ./shmctl05 tst_test.c:1085: INFO: Timeout per run is 0h 00m 20s ../../../../../include/tst_fuzzy_sync.h:589: INFO: Exceeded execution time, requesting exit ../../../../../include/tst_fuzzy_sync.h:594: WARN: Still sampling, consider increasing LTP_TIMEOUT_MUL shmctl05.c:97: PASS: didn't crash
Summary:
passed 1 failed 0 skipped 0
warnings 1
Signed-off-by Li Wang <[email protected]>
--- testcases/kernel/syscalls/ipc/shmctl/shmctl05.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/ipc/shmctl/shmctl05.c +1 -1
@@ -104,7 +104,7 @@ static void cleanup(void) }static struct tst_test test = { - .timeout =20 , + .timeout =120 , .setup = setup, .test_all = do_test, .cleanup = cleanup,
Signature · 1 line
2.14.4