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>
bb10
Peter Hartmann 2013-01-17 12:41:33 +01:00 committed by The Qt Project
parent cc5b698a95
commit 170bf2a59a
1 changed files with 1 additions and 1 deletions

View File

@ -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();