network proxy tests: adapt proxy authentication to new server
The tests pass with the new test server image. Once we are using the new test server we can remove the test for the host not found error. Change-Id: Iac8ba6d8ce31b0865b33a003086aac0339afe338 Reviewed-by: Richard J. Moore <rich@kde.org>bb10
parent
2dc04430ba
commit
6fd205d579
|
|
@ -6596,9 +6596,8 @@ void tst_QNetworkReply::authenticationCacheAfterCancel()
|
|||
QTestEventLoop::instance().enterLoop(10);
|
||||
QVERIFY(!QTestEventLoop::instance().timeout());
|
||||
|
||||
QEXPECT_FAIL("http+socksauth", "QTBUG-23136 - danted accepts bad authentication but blocks the connection", Continue);
|
||||
QEXPECT_FAIL("https+socksauth", "QTBUG-23136 - danted accepts bad authentication but blocks the connection", Continue);
|
||||
|
||||
if (reply->error() == QNetworkReply::HostNotFoundError)
|
||||
QSKIP("skip because of quirk in the old test server");
|
||||
QCOMPARE(reply->error(), QNetworkReply::ProxyAuthenticationRequiredError);
|
||||
QCOMPARE(authSpy.count(), 0);
|
||||
QVERIFY(proxyAuthSpy.count() > 0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue