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

QuickTest runs test suites in parallel, causing crashes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.2, 6.3
    • Fix Version/s: 6.5.0 Beta1
    • Component/s: Testing: QuickTest
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      47490648b1 (qt/qtdeclarative/dev)

      Description

      If a single qml file has multiple TestCase elements, all of which have when-properties that evaluate to true, we might end up in a situation where multiple TestCase elements run their test functions at the same time. I don't how this can happen, as my understanding is that the QML engine is single threaded.

      But it happens, and that's bad, as Qt Testlib, which Qt Quick Test uses for reporting, does not expect test functions to be executed in parallel.

      WIP patch at https://codereview.qt-project.org/c/qt/qtdeclarative/+/372593

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            vestbo Tor Arne Vestbø
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes