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>
This commit is contained in:
parent
ba423261cd
commit
2755e02f07
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user