From 3b9eb5f918c7bcf929f89c293494e5066a81dfba Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Tue, 24 May 2011 13:59:08 +0530 Subject: auto-test: Bump poll timeout to 10s for guest->host big file It might take a while for the host to clear out the data from the vq to a file on disk. The current timeout of 5s causes the poll to timeout quite frequently recently, so bump it to 10s. Signed-off-by: Amit Shah --- auto-virtserial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto-virtserial.c b/auto-virtserial.c index 560a3e4..43daf3d 100644 --- a/auto-virtserial.c +++ b/auto-virtserial.c @@ -1357,8 +1357,8 @@ static int test_threaded_read_write(int nr) pollfd[0].fd = chardevs[nr].sock; pollfd[0].events = POLLOUT; - /* Wait for 5s to see if guest writes out something */ - ret = poll(pollfd, 1, 5000); + /* Wait for 10s to see if guest writes out something */ + ret = poll(pollfd, 1, 10000); if (ret == -1) error(errno, errno, "%s: poll\n", __func__); if (!(pollfd[0].revents & POLLOUT)) -- cgit