summaryrefslogtreecommitdiffstats
path: root/test-tool/test-tool.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2011-09-14 13:00:34 +0100
committerRichard Jones <rjones@redhat.com>2011-09-14 13:00:34 +0100
commit912284b02e28bd63bdf3397ef841b9782adfd2cd (patch)
treeb0c5da52f8a357e95d94f3a5d9260de125253dc1 /test-tool/test-tool.c
parent95136b149212b92e87d0c9badb7d6849a084ed4d (diff)
downloadlibguestfs-912284b02e28bd63bdf3397ef841b9782adfd2cd.tar.gz
libguestfs-912284b02e28bd63bdf3397ef841b9782adfd2cd.tar.xz
libguestfs-912284b02e28bd63bdf3397ef841b9782adfd2cd.zip
test-tool: Make the default timeout be 600 seconds (10 minutes).
We could sometimes hit the 120 second timeout, eg. if the appliance needed to be rebuilt and the machine was very slow and/or under heavy I/O load. 10 minutes should be enough for any reasonable situation.
Diffstat (limited to 'test-tool/test-tool.c')
-rw-r--r--test-tool/test-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c
index 59b9d67a..ca8d9b8c 100644
--- a/test-tool/test-tool.c
+++ b/test-tool/test-tool.c
@@ -64,7 +64,7 @@
#define P_tmpdir "/tmp"
#endif
-#define DEFAULT_TIMEOUT 120
+#define DEFAULT_TIMEOUT 600
static int timeout = DEFAULT_TIMEOUT;
static char tmpf[] = P_tmpdir "/libguestfs-test-tool-sda-XXXXXX";