Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-58519

tst_QTimer::remainingTime() 'qAbs(remainingTime - 150) < 50' returned FALSE on Windows and OS X

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 5.7, 5.8, 5.9
    • Fix Version/s: 6.0
    • Component/s: Core: Date/Time
    • Environment:
      Windows 8.1, and Windows 10. OS X 10.9 macOS 10.12
    • Platform/s:
      macOS
    • Commits:
      239418a947dc5230ce295b04edc5ee5b59009c7b

      Description

      Test 'tst_QTimer::remainingTime() ' has failed 23 times within the last week in the CI. It's a flaky test and doesn't necessarily fail the whole integration.

      FAIL!  : tst_QTimer::remainingTime() 'qAbs(remainingTime - 150) < 50' returned FALSE. (91)
      tst_qtimer.cpp(167) : failure location
      

      Could those fails be related to high CPU load on the CI machines?

      Or are they related to "Improve QTest::qWait() precision and switch to QDeadlineTimer" 374a173d1417a9f8c313088420cb1b792fe45977 (qtbase) https://codereview.qt-project.org/#/c/182747/ ?

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              jkobus Jarek Kobus
              Reporter:
              mipohjan Milla Pohjanheimo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes