All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Wang <liwang@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] shmctl05: extend timeout to 120 seconds
Date: Fri, 23 Nov 2018 11:16:04 +0800	[thread overview]
Message-ID: <20181123031604.21400-1-liwang@redhat.com> (raw)

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 <liwang@redhat.com>
---
 testcases/kernel/syscalls/ipc/shmctl/shmctl05.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/ipc/shmctl/shmctl05.c b/testcases/kernel/syscalls/ipc/shmctl/shmctl05.c
index ecae202e8..9df1ab80b 100644
--- a/testcases/kernel/syscalls/ipc/shmctl/shmctl05.c
+++ b/testcases/kernel/syscalls/ipc/shmctl/shmctl05.c
@@ -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,
-- 
2.14.4


                 reply	other threads:[~2018-11-23  3:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181123031604.21400-1-liwang@redhat.com \
    --to=liwang@redhat.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.