summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-05-21 07:31:51 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-05-21 07:31:51 (GMT)
commit47cbde8e5fbb7f0c4dc197c2ef241f5ba9fe2743 (patch)
treee8518206ec161750de9722aee17eb82805cca061 /tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
parent0987e68043e174a2a033b58d065c6069c0cf8a1a (diff)
parenta064fe66f5256c7ded6f3df87f503aa0fb8e341b (diff)
downloadQt-47cbde8e5fbb7f0c4dc197c2ef241f5ba9fe2743.zip
Qt-47cbde8e5fbb7f0c4dc197c2ef241f5ba9fe2743.tar.gz
Qt-47cbde8e5fbb7f0c4dc197c2ef241f5ba9fe2743.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
Diffstat (limited to 'tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp')
-rw-r--r--tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp b/tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
index fc15437..2383767 100644
--- a/tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
+++ b/tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
@@ -389,7 +389,8 @@ void tst_QNetworkDiskCache::expire()
qint64 max = cache.maximumCacheSize();
QCOMPARE(max, limit);
for (int i = 0; i < 10; ++i) {
- QTest::qWait(2000);
+ if (i % 3 == 0)
+ QTest::qWait(2000);
QNetworkCacheMetaData m;
m.setUrl(QUrl("http://www.foo.com/" + QString::number(i)));
QIODevice *d = cache.prepare(m);