From 3fc220377455cb15a7e65cfc63707df552650887 Mon Sep 17 00:00:00 2001
From: Peter Varga <pvarga@inf.u-szeged.hu>
Date: Thu, 28 Mar 2019 11:14:08 +0100
Subject: [PATCH] Skip downloadUniqueFileNameWithTimeStamp auto test on Windows

Task-number: QTBUG-74764
Change-Id: I2638a6857e1d29ebacaafac3fff5daab57268b54
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
---
 .../qwebenginedownloaditem/tst_qwebenginedownloaditem.cpp      | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/auto/widgets/qwebenginedownloaditem/tst_qwebenginedownloaditem.cpp b/tests/auto/widgets/qwebenginedownloaditem/tst_qwebenginedownloaditem.cpp
index ee1e6ee04..8af559e21 100644
--- a/tests/auto/widgets/qwebenginedownloaditem/tst_qwebenginedownloaditem.cpp
+++ b/tests/auto/widgets/qwebenginedownloaditem/tst_qwebenginedownloaditem.cpp
@@ -919,6 +919,9 @@ void tst_QWebEngineDownloadItem::downloadUniqueFilename()
 
 void tst_QWebEngineDownloadItem::downloadUniqueFileNameWithTimeStamp()
 {
+#ifdef Q_OS_WIN
+    QSKIP("QTBUG-74764: The download completes after the test fails thus would ruin subsequent tests on Windows.")
+#endif
     // Set up HTTP server
     QString baseName("test(1.test)");
     QString extension("txt");
-- 
GitLab