diff options
author | David Faure <faure+bluesystems@kde.org> | 2013-03-15 23:28:05 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-19 06:29:13 +0100 |
commit | a1bc48422fc898496fe9e7e75f0ed74522cd18bc (patch) | |
tree | c11bfde7680c4814ccc85ccf4120c75111e130e3 | |
parent | 0ef4a55014b840ce7ef29b60174dfd7af6b0e801 (diff) |
tst_qlockfile: increase delay on Windows.
OpenProcess + WaitForSingleObject is supposed to fail after the process exits,
but this seems to take some time until Windows notices.
Change-Id: I942a9b4a458c23fc4ac33b28386e28821128e991
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
-rw-r--r-- | tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp | 2 |
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 |