summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2018-07-27 09:32:43 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-02 20:52:12 +0000
commit20abae270a20d312d45fc7f850af44603f5f38de (patch)
treee2be89348e6e10e623bb228f7efdbf473a1a3090 /tests
parent595589197313178551cf7ccd645d2732643875bf (diff)
Increase loadFinished timeouts in tst_origins
Change-Id: Ifc9a24d4f887a2ca63aed283db3d7d1b56bc243d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/widgets/origins/tst_origins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/origins/tst_origins.cpp b/tests/auto/widgets/origins/tst_origins.cpp
index 044595214..083975d71 100644
--- a/tests/auto/widgets/origins/tst_origins.cpp
+++ b/tests/auto/widgets/origins/tst_origins.cpp
@@ -85,7 +85,7 @@ private:
{
QSignalSpy spy(m_page, &QWebEnginePage::loadFinished);
m_page->load(url);
- return (!spy.empty() || spy.wait())
+ return (!spy.empty() || spy.wait(20000))
&& spy.front().value(0).toBool();
}