tst_QTcpSocket::hostNotFound Only expect failure for the http proxy
When I added the QEXPECT_FAIL the http proxy was the only one. That's no longer true after fixing the SOCKS proxy, so let's make the condition more specific. Change-Id: I1eaa5117d5d0219e04cbd091ec54e522fe7b5509 Reviewed-by: Dimitrios Apostolou <dimitrios.apostolou@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
b0cd007335
commit
4cb0749250
@ -865,7 +865,8 @@ void tst_QTcpSocket::hostNotFound()
|
||||
QCOMPARE(socket->state(), QTcpSocket::UnconnectedState);
|
||||
#ifdef QT_TEST_SERVER
|
||||
QFETCH_GLOBAL(bool, setProxy);
|
||||
if (setProxy) {
|
||||
QFETCH_GLOBAL(int, proxyType);
|
||||
if (setProxy && (proxyType & HttpProxy) == HttpProxy) {
|
||||
QEXPECT_FAIL("", "QTBUG-73953: The version of Squid in the docker container behaves "
|
||||
"differently to the one in the network testing server, returning 503 "
|
||||
"when we expect 404", Continue);
|
||||
|
Loading…
x
Reference in New Issue
Block a user