aboutsummaryrefslogtreecommitdiff
path: root/tests/prom-env-test.c
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel@redhat.com>2016-07-14 16:43:40 +0300
committerMichael S. Tsirkin <mst@redhat.com>2016-07-20 19:30:26 +0300
commiteaf8d91cd7ac28803eb0fb5a13b0c10e5096c361 (patch)
treea1efaf58017737d50d58ae992908b9c0f3a2f406 /tests/prom-env-test.c
parentcdcab9d94101a6dd9ac8136c6f2cd15b6a997896 (diff)
tests/prom-env-test: increase the test timeout
On a slower machine the test can take more than 30 seconds. Increase the timeout to 100 seconds. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'tests/prom-env-test.c')
-rw-r--r--tests/prom-env-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prom-env-test.c b/tests/prom-env-test.c
index 6df57d224b..7a628574c3 100644
--- a/tests/prom-env-test.c
+++ b/tests/prom-env-test.c
@@ -30,7 +30,7 @@ static void check_guest_memory(void)
int i;
/* Poll until code has run and modified memory. Wait at most 30 seconds */
- for (i = 0; i < 3000; ++i) {
+ for (i = 0; i < 10000; ++i) {
signature = readl(ADDRESS);
if (signature == MAGIC) {
break;