diff options
author | Peter Hartmann <phartmann@rim.com> | 2013-01-17 12:41:33 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-17 12:57:43 +0100 |
commit | 170bf2a59aa863e724097825e5a0c8e8148ce109 (patch) | |
tree | 114bf8a94a57da31a00c913db08902562d7193eb /tests/auto/corelib/tools/qdatetime | |
parent | cc5b698a95ba11691c151399ae53fc5b29c57a9f (diff) |
QDateTime auto test: stabilize currentDateTimeUtc2 test
... by trying more often to get dates close enough to each other.
Change-Id: I370f7cd61bbb84fbb77ea96ff9fd82c1a6f1f76a
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Diffstat (limited to 'tests/auto/corelib/tools/qdatetime')
-rw-r--r-- | tests/auto/corelib/tools/qdatetime/tst_qdatetime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qdatetime/tst_qdatetime.cpp b/tests/auto/corelib/tools/qdatetime/tst_qdatetime.cpp index 7c26d511c6..21fcac0bb1 100644 --- a/tests/auto/corelib/tools/qdatetime/tst_qdatetime.cpp +++ b/tests/auto/corelib/tools/qdatetime/tst_qdatetime.cpp @@ -1116,7 +1116,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(); |