summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp b/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp
index 4aed11a2aa..c0bf77cfb2 100644
--- a/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp
+++ b/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp
@@ -240,7 +240,7 @@ void tst_QLockFile::staleLockFromCrashedProcess()
// tryLock detects and removes the stale lock (since the PID is dead)
#ifdef Q_OS_WIN
// It can take a bit of time on Windows, though.
- QVERIFY(secondLock.tryLock(2000));
+ QVERIFY(secondLock.tryLock(30000));
#else
QVERIFY(secondLock.tryLock());
#endif