Skip to content

Commit

Permalink
Tests: relax multipleSeekStressTest timeout
Browse files Browse the repository at this point in the history
from CI:

   Computed (setPosition): 116
   Baseline (pos + 100)  : 110
   Loc: [/Users/qt/work/qt/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(2687)]

Pick-to: 6.5 6.7 6.8
Change-Id: Iefef05fbefebd941ff34e8cb5b819b0ffaf8893a
Reviewed-by: Jøger Hansegård <[email protected]>
  • Loading branch information
timblechmann committed Jul 26, 2024
1 parent 101ffd1 commit 05483f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2796,8 +2796,8 @@ void tst_QMediaPlayerBackend::multipleSeekStressTest()

QTRY_VERIFY(positionSpy.size() >= 1);
int setPosition = positionSpy.first().first().toInt();
QCOMPARE_GT(setPosition, pos - 100);
QCOMPARE_LT(setPosition, pos + 100);
QCOMPARE_GT(setPosition, pos - 120);
QCOMPARE_LT(setPosition, pos + 120);
};

constexpr qint64 posInterval = 10;
Expand Down

0 comments on commit 05483f3

Please sign in to comment.