QTcpSocket auto test: rely on IMAP port, not SMTP port
The new test server image will not have a SMTP service installed, and the network self test does not check for that either. Change-Id: I1063777832148e184de4ddf21d9154364f644e1e Reviewed-by: Richard J. Moore <rich@kde.org>bb10
parent
5cb6260a36
commit
2109965a4e
|
|
@ -1578,7 +1578,7 @@ void tst_QTcpSocket::recursiveReadyRead()
|
|||
|
||||
QSignalSpy spy(testSocket, SIGNAL(readyRead()));
|
||||
|
||||
testSocket->connectToHost(QtNetworkSettings::serverName(), 25);
|
||||
testSocket->connectToHost(QtNetworkSettings::serverName(), 143);
|
||||
enterLoop(30);
|
||||
QVERIFY2(!timeout(),
|
||||
"Timed out when connecting to QtNetworkSettings::serverName().");
|
||||
|
|
|
|||
Loading…
Reference in New Issue