diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-03-03 23:46:25 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-03-03 23:46:25 (GMT) |
commit | e8916f0b69abad1de5767ac6ca1a555f40e3f675 (patch) | |
tree | ce0647b1a9d37c358d127c500ee3b60cfd9997af /tests | |
parent | 651f4336392f86cb5820e3e3cccdc56ec3a0efe8 (diff) | |
download | Qt-e8916f0b69abad1de5767ac6ca1a555f40e3f675.zip Qt-e8916f0b69abad1de5767ac6ca1a555f40e3f675.tar.gz Qt-e8916f0b69abad1de5767ac6ca1a555f40e3f675.tar.bz2 |
Increase test timer
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp | 3 |
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()); } |