summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Hartmann <phartmann@rim.com>2013-01-17 11:41:33 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-17 16:21:01 (GMT)
commitb6ce12d70e6e576a6a55d5b747aa9534657b04ff (patch)
treea1e0ebfb71b8f522806f36be3ad0d2d3a7aec653
parenta303165285ae6d6651e76a684265035836b547c0 (diff)
downloadQt-b6ce12d70e6e576a6a55d5b747aa9534657b04ff.zip
Qt-b6ce12d70e6e576a6a55d5b747aa9534657b04ff.tar.gz
Qt-b6ce12d70e6e576a6a55d5b747aa9534657b04ff.tar.bz2
QDateTime auto test: stabilize currentDateTimeUtc2 test
... by trying more often to get dates close enough to each other. (backport of commit 170bf2a59aa863e724097825e5a0c8e8148ce109) Change-Id: Ib713ed13cf5b8bcf469ade148026d5bfa239b304 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
-rw-r--r--tests/auto/qdatetime/tst_qdatetime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qdatetime/tst_qdatetime.cpp b/tests/auto/qdatetime/tst_qdatetime.cpp
index 29c777a..bb69543 100644
--- a/tests/auto/qdatetime/tst_qdatetime.cpp
+++ b/tests/auto/qdatetime/tst_qdatetime.cpp
@@ -1087,7 +1087,7 @@ void tst_QDateTime::currentDateTimeUtc2()
qint64 msec;
// check that we got all down to the same milliseconds
- int i = 2;
+ int i = 20;
bool ok = false;
do {
local = QDateTime::currentDateTime();