diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2021-06-29 16:34:56 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-14 13:59:56 +0000 |
commit | 5bd10f771727af7953843c27dcc6386c445cec7c (patch) | |
tree | 572305e7085b9f0b5c98600cd81ec0ed839fd427 /tests | |
parent | 92156e4e9d270d334b01795f44b25ae00c73d8c2 (diff) | |
download | qtlocation-5bd10f771727af7953843c27dcc6386c445cec7c.tar.gz |
QtPositioning: improve flaky setUpdateInterval_delayedUpdate() test
There are several bugreports regarding this test being flaky. They all
are old, and the test is quite stable now.
Still we can increase the timeout without breaking the test logic.
This will make the test even more stable under high CI load.
Fixes: QTBUG-57678
Fixes: QTBUG-83077
Change-Id: If973c96750cfb079c076c47bcf4d0828a04c3e01
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit 2712c51db4e0cc7344b372c87240b9980d3ceaa1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qnmeapositioninfosource/tst_qnmeapositioninfosource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qnmeapositioninfosource/tst_qnmeapositioninfosource.cpp b/tests/auto/qnmeapositioninfosource/tst_qnmeapositioninfosource.cpp index accc5bed..e99faa6d 100644 --- a/tests/auto/qnmeapositioninfosource/tst_qnmeapositioninfosource.cpp +++ b/tests/auto/qnmeapositioninfosource/tst_qnmeapositioninfosource.cpp @@ -125,7 +125,7 @@ void tst_QNmeaPositionInfoSource::setUpdateInterval_delayedUpdate() // should have gotten the update immediately, and not have needed to // wait until the next interval - QVERIFY(now.time().msecsTo(QDateTime::currentDateTime().time()) < 200); + QVERIFY(now.time().msecsTo(QDateTime::currentDateTime().time()) < 400); } void tst_QNmeaPositionInfoSource::lastKnownPosition() |