diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-01-27 14:41:14 +0530 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2010-01-27 14:45:48 +0530 |
commit | 94412edab1fa17262b4f50c3c0936d4d2307c0b8 (patch) | |
tree | 0ceb844df662fa27f07d76e89ca5b5b78063d5d2 /auto-virtserial.c | |
parent | 9869c27316e0650bfa142be5d547eb76c2001348 (diff) | |
download | test-virtserial-94412edab1fa17262b4f50c3c0936d4d2307c0b8.tar.gz test-virtserial-94412edab1fa17262b4f50c3c0936d4d2307c0b8.tar.xz test-virtserial-94412edab1fa17262b4f50c3c0936d4d2307c0b8.zip |
auto-test: increase initial poll timeout to 40s
20s is insufficient for the guest to boot from a cold cache.
Bump the timeout to 40s.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'auto-virtserial.c')
-rw-r--r-- | auto-virtserial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auto-virtserial.c b/auto-virtserial.c index ac9463b..d9e5714 100644 --- a/auto-virtserial.c +++ b/auto-virtserial.c @@ -1257,8 +1257,8 @@ int main(int argc, const char *argv[]) pollfd[0].fd = chardevs[1].sock; pollfd[0].events = POLLIN; - /* Wait for 20s to see if guest tries to reach us */ - ret = poll(pollfd, 1, 20000); + /* Wait for 40s max. to see if guest tries to reach us */ + ret = poll(pollfd, 1, 40000); if (ret == -1) error(errno, errno, "poll %s", chardevs[1].path); if (ret == 0) { |