path: root/tests/auto/corelib/io/qfile/tst_qfile.cpp
diff options
authorKari Oikarinen <>2018-02-09 16:59:36 +0200
committerKari Oikarinen <>2018-02-12 10:26:00 +0000
commit38b6ac6544f2afb54466088a0e1e3cc771a2fd94 (patch)
treeade13b057d06744ee1e605054a9997e2d085b562 /tests/auto/corelib/io/qfile/tst_qfile.cpp
parent72918d196c3617fb1cb9aee2c5f1a88e3bc30041 (diff)
Skip tst_QFile::largeUncFileSupport
If more than one VM tries to run the test at the same time, it times out. These sharing violations were attempted to be worked around in 1c3dc8cfb, but the workaround just leads to timeout, not success. Task-number: QTQAINFRA-1727 Task-number: QTBUG-66216 Change-Id: If8bfd60dbb6575843680971d45b1c82e5beff534 Reviewed-by: Friedemann Kleint <> Reviewed-by: Sami Nurmenniemi <>
Diffstat (limited to 'tests/auto/corelib/io/qfile/tst_qfile.cpp')
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp
index 5f0eae6fc3..e92f6df419 100644
--- a/tests/auto/corelib/io/qfile/tst_qfile.cpp
+++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp
@@ -1642,6 +1642,15 @@ static bool fOpen(const QByteArray &fileName, const char *mode, FILE **file)
void tst_QFile::largeUncFileSupport()
+ // Currently there is a single network test server that is used by all VMs running tests in
+ // the CI. This test accesses a file shared with Samba on that server. Unfortunately many
+ // clients accessing the file at the same time is a sharing violation. This test already
+ // attempted to deal with the problem with retries, but that has led to the test timing out,
+ // not eventually succeeding. Due to the timeouts blacklisting the test wouldn't help.
+ // See which will be resolved by the new
+ // test server architecture where the server is no longer shared.
+ QSKIP("Multiple instances of running this test at the same time fail due to QTQAINFRA-1727");
qint64 size = Q_INT64_C(8589934592);
qint64 dataOffset = Q_INT64_C(8589914592);
QByteArray knownData("LargeFile content at offset 8589914592");