summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMilla Pohjanheimo <milla.pohjanheimo@qt.io>2017-10-02 15:14:11 +0300
committerMilla Pohjanheimo <milla.pohjanheimo@qt.io>2017-10-05 10:22:12 +0000
commit2755e02f071d1dc18c763517447f4870a4493510 (patch)
tree7989f70d5ee46fc3f3dfd46d662d750c79b335a3 /tests
parentba423261cd9abedda8b732c82371515003d385ce (diff)
Increase timeout for tst_QXmlSimpleReader::inputFromSocket() test
The test tst_QXmlSimpleReader::inputFromSocket() is failing with "QTestLib: This test case check ("(((server->listening)))") failed because the requested timeout (5000 ms) was too short, 11700 ms would have been sufficient this time". Increased the timeout, since it's better to wait than to fail. Task-number: QTBUG-63539 Change-Id: I804549648ea834e41d3c87871f5bab90f209385c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/xml/sax/qxmlsimplereader/tst_qxmlsimplereader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/xml/sax/qxmlsimplereader/tst_qxmlsimplereader.cpp b/tests/auto/xml/sax/qxmlsimplereader/tst_qxmlsimplereader.cpp
index 8a5c8ec1df..f77fd2ebab 100644
--- a/tests/auto/xml/sax/qxmlsimplereader/tst_qxmlsimplereader.cpp
+++ b/tests/auto/xml/sax/qxmlsimplereader/tst_qxmlsimplereader.cpp
@@ -562,7 +562,7 @@ void tst_QXmlSimpleReader::inputFromSocket()
QSKIP("WinRT does not support connecting to localhost");
#endif
- QTRY_VERIFY(server->listening);
+ QTRY_VERIFY_WITH_TIMEOUT(server->listening, 15000);
QTcpSocket sock;
sock.connectToHost(QHostAddress::LocalHost, TEST_PORT);