Use qt.io rather than qt-project.org for network tests
Mainly because of a change in certificates which is causing failing tests. This patch is cherry-picked from https://codereview.qt-project.org/104619/ Change-Id: I8304e5ac4107428a250b71be5df7b5399a811017 Reviewed-by: Richard J. Moore <rich@kde.org>bb10
parent
44ab91aaa1
commit
6430d6e3ec
|
|
@ -772,7 +772,7 @@ void tst_QSslSocket::peerCertificateChain()
|
|||
QVERIFY(socket->waitForDisconnected());
|
||||
|
||||
// connect again to a different server
|
||||
socket->connectToHostEncrypted("qt-project.org", 443);
|
||||
socket->connectToHostEncrypted("www.qt.io", 443);
|
||||
socket->ignoreSslErrors();
|
||||
QCOMPARE(socket->mode(), QSslSocket::UnencryptedMode);
|
||||
QVERIFY(socket->peerCertificateChain().isEmpty());
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ void tst_QSslSocket_onDemandCertificates_member::proxyAuthenticationRequired(con
|
|||
|
||||
void tst_QSslSocket_onDemandCertificates_member::onDemandRootCertLoadingMemberMethods()
|
||||
{
|
||||
QString host("qt-project.org");
|
||||
QString host("www.qt.io");
|
||||
|
||||
// not using any root certs -> should not work
|
||||
QSslSocketPtr socket2 = newSocket();
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ void tst_QSslSocket_onDemandCertificates_static::proxyAuthenticationRequired(con
|
|||
|
||||
void tst_QSslSocket_onDemandCertificates_static::onDemandRootCertLoadingStaticMethods()
|
||||
{
|
||||
QString host("qt-project.org");
|
||||
QString host("www.qt.io");
|
||||
|
||||
// not using any root certs -> should not work
|
||||
QSslSocket::setDefaultCaCertificates(QList<QSslCertificate>());
|
||||
|
|
|
|||
Loading…
Reference in New Issue