summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-08-27 01:11:29 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-08-27 01:11:29 (GMT)
commit93c8a38e5f4912c51c4484975ebd433bec43a0f1 (patch)
tree7e3e7af6c1bc3ed1bacf5f862616b27a2364da1a
parent87750fe0cfc3861dbe3421bdd3f20dc0f97ad45a (diff)
downloadQt-93c8a38e5f4912c51c4484975ebd433bec43a0f1.zip
Qt-93c8a38e5f4912c51c4484975ebd433bec43a0f1.tar.gz
Qt-93c8a38e5f4912c51c4484975ebd433bec43a0f1.tar.bz2
Improve stability of test on loaded hw.
-rw-r--r--tests/auto/declarative/qdeclarativeimageprovider/tst_qdeclarativeimageprovider.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeimageprovider/tst_qdeclarativeimageprovider.cpp b/tests/auto/declarative/qdeclarativeimageprovider/tst_qdeclarativeimageprovider.cpp
index 6d5a357..d0afc8a 100644
--- a/tests/auto/declarative/qdeclarativeimageprovider/tst_qdeclarativeimageprovider.cpp
+++ b/tests/auto/declarative/qdeclarativeimageprovider/tst_qdeclarativeimageprovider.cpp
@@ -389,6 +389,7 @@ void tst_qdeclarativeimageprovider::threadTest()
}
provider->ok = true;
provider->cond.wakeAll();
+ QTest::qWait(250);
foreach(QDeclarativeImage *img, images) {
TRY_WAIT(img->status() == QDeclarativeImage::Ready);
}