Skip the threaded systemProxyForQuery test on Windows 7
Under qemu/kvm the systemProxyForQuery call - when initiated from a secondary thread - never completes. Consequently the thread hangs, test fails and the crashes due to the inability to cleanly terminate the test thread. Task-number: QTQAINFRA-1200 Change-Id: I9bd4ed163d215fadd8532a03bbdccd80fc8d9cb1 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
parent
b1381ea9eb
commit
f17554fce1
@ -41,7 +41,7 @@
|
||||
#include <QNetworkReply>
|
||||
#include <QNetworkRequest>
|
||||
#include <QList>
|
||||
|
||||
#include <QSysInfo>
|
||||
#include <QThread>
|
||||
|
||||
class tst_QNetworkProxyFactory : public QObject {
|
||||
@ -416,6 +416,9 @@ public:
|
||||
//regression test for QTBUG-18799
|
||||
void tst_QNetworkProxyFactory::systemProxyForQueryCalledFromThread()
|
||||
{
|
||||
if (QSysInfo::productType() == QLatin1String("windows") && QSysInfo::productVersion() == QLatin1String("7sp1")) {
|
||||
QSKIP("This test fails by the systemProxyForQuery() call hanging - QTQAINFRA-1200");
|
||||
}
|
||||
QUrl url(QLatin1String("http://qt-project.org"));
|
||||
QNetworkProxyQuery query(url);
|
||||
QSPFQThread thread;
|
||||
|
Loading…
Reference in New Issue
Block a user