summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2013-08-23 18:11:22 +0200
committerPetr Rockai <prockai@redhat.com>2013-08-28 14:53:23 +0200
commit8b3664dc8dcfb5bf86be03f20e62617e0c49f5ec (patch)
tree74ef894bb9c5655e18b309dc0a67e523d1d4b4f9
parent64fe17dc94ce3b7cc547c9fc544c34460d99d5b3 (diff)
downloadlvm2-8b3664dc8dcfb5bf86be03f20e62617e0c49f5ec.tar.gz
test: Set the timeout to 3 minutes (was 5s accidentally).
-rw-r--r--test/lib/harness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/harness.c b/test/lib/harness.c
index af30c4497..52fa62f55 100644
--- a/test/lib/harness.c
+++ b/test/lib/harness.c
@@ -381,7 +381,7 @@ static void run(int i, char *f) {
FD_SET(fds[1], &master_set);
while ((w = wait4(pid, &st, WNOHANG, &usage)) == 0) {
if ((fullbuffer && fullbuffer++ == 8000) ||
- time(NULL) - start > 5) // a 2 minute timeout
+ time(NULL) - start > 180) // a 3 minute timeout
{
system("echo t > /proc/sysrq-trigger");
kill(pid, SIGINT);