From b6ce12d70e6e576a6a55d5b747aa9534657b04ff 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. (backport of commit 170bf2a59aa863e724097825e5a0c8e8148ce109) Change-Id: Ib713ed13cf5b8bcf469ade148026d5bfa239b304 Reviewed-by: Sergio Ahumada --- tests/auto/qdatetime/tst_qdatetime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v0.12