Skip smb-path test of tst_QNetworkReply when using Docker test servers
The tests of smb protocol only work in the CI network. Therefore, the docker-based test server for Windows can't pass all the tests of QNetworkReply. These two tests should be reworked when adding Samba server to the docker-based test servers later on. Task-number: QTBUG-72861 Change-Id: I54e639b5414760ee929d0d28fe10f9e021aff7dc Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
This commit is contained in:
parent
e70230405d
commit
574ac8734d
@ -1809,6 +1809,11 @@ void tst_QNetworkReply::getFromFileSpecial_data()
|
||||
|
||||
void tst_QNetworkReply::getFromFileSpecial()
|
||||
{
|
||||
#if defined(QT_TEST_SERVER) && defined(Q_OS_WIN)
|
||||
if (qstrcmp(QTest::currentDataTag(), "smb-path") == 0)
|
||||
QSKIP("Docker-based test server doesn't support smb protocol yet");
|
||||
#endif
|
||||
|
||||
QFETCH(QString, fileName);
|
||||
QFETCH(QString, url);
|
||||
|
||||
@ -3202,6 +3207,11 @@ void tst_QNetworkReply::ioGetFromFileSpecial_data()
|
||||
|
||||
void tst_QNetworkReply::ioGetFromFileSpecial()
|
||||
{
|
||||
#if defined(QT_TEST_SERVER) && defined(Q_OS_WIN)
|
||||
if (qstrcmp(QTest::currentDataTag(), "smb-path") == 0)
|
||||
QSKIP("Docker-based test server doesn't support smb protocol yet");
|
||||
#endif
|
||||
|
||||
QFETCH(QString, fileName);
|
||||
QFETCH(QString, url);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user