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

androidtestrunner does not honour QTEST_FUNCTION_TIMEOUT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 7.0 (Next Major Release)
    • None

    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

          Activity

            People

              qtandroidteam Qt Android Team
              jimis Dimitrios Apostolou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: