summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-10-17 13:45:21 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-17 22:51:35 +0200
commite6a7ab6444dab12c36bc67531a73ce785b5143b6 (patch)
tree0b95520d03c8ddfe1828f2aa9a76916d6b627c7f /tests
parentb4e2cf5e4755828222f5a86dcb95c25584f89870 (diff)
Increase the timeout for the example window to 3s (up from 1)
The examples test is failing on different tests every time, so it's likely to be a timing issue. Change-Id: I3fc8826d1100dba8e62839eb7f8d67b5bda3b761 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/examples/tst_examples.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp
index 0a74b643..8b783f44 100644
--- a/tests/auto/declarative/examples/tst_examples.cpp
+++ b/tests/auto/declarative/examples/tst_examples.cpp
@@ -224,7 +224,7 @@ void tst_examples::examples()
viewer.show();
- QVERIFY(QTest::qWaitForWindowActive(&viewer));
+ QVERIFY(QTest::qWaitForWindowActive(&viewer, 3000));
}
QTEST_MAIN(tst_examples)