From 170bf2a59aa863e724097825e5a0c8e8148ce109 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Thu, 17 Jan 2013 12:41:33 +0100 Subject: 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 --- tests/auto/corelib/tools/qdatetime/tst_qdatetime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3