diff options
author | Peter Hartmann <phartmann@rim.com> | 2013-01-17 11:41:33 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-17 16:21:01 (GMT) |
commit | b6ce12d70e6e576a6a55d5b747aa9534657b04ff (patch) | |
tree | a1e0ebfb71b8f522806f36be3ad0d2d3a7aec653 /tests | |
parent | a303165285ae6d6651e76a684265035836b547c0 (diff) | |
download | Qt-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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qdatetime/tst_qdatetime.cpp | 2 |
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(); |