Skip to content

Commit b2ee1cf

Browse files
committed
Use qt.io rather than qt-project.org for network tests
Mainly because of a change in certificates which is causing failing tests. Cherry-picked from https://codereview.qt-project.org/104619/ Change-Id: I8304e5ac4107428a250b71be5df7b5399a811017 Reviewed-by: Richard J. Moore <[email protected]>
1 parent dde0c2f commit b2ee1cf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/auto/qsslsocket/tst_qsslsocket.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ void tst_QSslSocket::peerCertificateChain()
735735
QVERIFY(socket->waitForDisconnected());
736736

737737
// connect again to a different server
738-
socket->connectToHostEncrypted("trolltech.com", 443);
738+
socket->connectToHostEncrypted("www.qt.io", 443);
739739
socket->ignoreSslErrors();
740740
QCOMPARE(socket->mode(), QSslSocket::UnencryptedMode);
741741
QVERIFY(socket->peerCertificateChain().isEmpty());

tests/auto/qsslsocket_onDemandCertificates_member/tst_qsslsocket_onDemandCertificates_member.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void tst_QSslSocket_onDemandCertificates_member::proxyAuthenticationRequired(con
199199

200200
void tst_QSslSocket_onDemandCertificates_member::onDemandRootCertLoadingMemberMethods()
201201
{
202-
QString host("qt-project.org");
202+
QString host("www.qt.io");
203203

204204
// not using any root certs -> should not work
205205
QSslSocketPtr socket2 = newSocket();

tests/auto/qsslsocket_onDemandCertificates_static/tst_qsslsocket_onDemandCertificates_static.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ void tst_QSslSocket_onDemandCertificates_static::proxyAuthenticationRequired(con
196196

197197
void tst_QSslSocket_onDemandCertificates_static::onDemandRootCertLoadingStaticMethods()
198198
{
199-
QString host("qt-project.org");
199+
QString host("www.qt.io");
200200

201201
// not using any root certs -> should not work
202202
QSslSocket::setDefaultCaCertificates(QList<QSslCertificate>());

0 commit comments

Comments
 (0)