summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeworkerscript
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-03-03 23:46:25 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-03-03 23:46:25 (GMT)
commite8916f0b69abad1de5767ac6ca1a555f40e3f675 (patch)
treece0647b1a9d37c358d127c500ee3b60cfd9997af /tests/auto/declarative/qdeclarativeworkerscript
parent651f4336392f86cb5820e3e3cccdc56ec3a0efe8 (diff)
downloadQt-e8916f0b69abad1de5767ac6ca1a555f40e3f675.zip
Qt-e8916f0b69abad1de5767ac6ca1a555f40e3f675.tar.gz
Qt-e8916f0b69abad1de5767ac6ca1a555f40e3f675.tar.bz2
Increase test timer
Diffstat (limited to 'tests/auto/declarative/qdeclarativeworkerscript')
-rw-r--r--tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp b/tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp
index 15caea6..9957b50 100644
--- a/tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp
+++ b/tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp
@@ -71,8 +71,9 @@ private:
QEventLoop loop;
QVERIFY(connect(worker, SIGNAL(done()), &loop, SLOT(quit())));
QTimer timer;
+ timer.setSingleShot(true);
connect(&timer, SIGNAL(timeout()), &loop, SLOT(quit()));
- timer.start(1000);
+ timer.start(10000);
loop.exec();
QVERIFY(timer.isActive());
}