summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativeimageprovider
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-08-27 11:11:29 +1000
committerMartin Jones <martin.jones@nokia.com>2010-08-27 11:11:29 +1000
commit93c8a38e5f4912c51c4484975ebd433bec43a0f1 (patch)
tree7e3e7af6c1bc3ed1bacf5f862616b27a2364da1a /tests/auto/declarative/qdeclarativeimageprovider
parent87750fe0cfc3861dbe3421bdd3f20dc0f97ad45a (diff)
downloadqt4-tools-93c8a38e5f4912c51c4484975ebd433bec43a0f1.tar.gz
Improve stability of test on loaded hw.
Diffstat (limited to 'tests/auto/declarative/qdeclarativeimageprovider')
-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 6d5a3578ef..d0afc8a688 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);
}