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

androidtestrunner does not honour QTEST_FUNCTION_TIMEOUT

    XMLWordPrintable

Details

    • 0d5fe9c3d (dev), d2c29aee4 (dev), 85bc25222 (6.6), 751d80f12 (6.6), f6107c2ed (tqtc/lts-6.5), f9892335f (tqtc/lts-6.5), 4a3936c33 (dev), aecf64eb7 (6.7), 3d2265b33 (6.6), 893c3c9e0 (tqtc/lts-6.5), 1a7db3ab1 (dev), 8f9543e0a (6.7), 69308e743 (6.6)
    • 2023wk48FOQtforAndroid

    Description

      QTEST_FUNCTION_TIMEOUT is a timeout enforced by QTest as the maximum time for a test function.

      Androidtestrunner can not enforce this timeout (mostly because of QTBUG-106478), but it has a separate timeout that concerns the total time of execution of the test, and that defaults to 8 minutes and can be altered with --timeout.

      Suggested solution

      Set the hardcoded 8min total timeout to 2*QTEST_FUNCTION_TIMEOUT (converted to seconds).

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-106479
          # Subject Branch Project Status CR V

          Activity

            People

              assam Assam Boudjelthia
              jimis Dimitrios Apostolou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: