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

tst_QDBusAbstractAdaptor::signalEmissionsPeer is flaky

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0
    • 5.4.0 Beta
    • D-Bus
    • None
    • 5368e44a86a4e0d4582ff5268986ea8bd0fa64ca

    Description

      The test is definitely flaky on my Debian64:

      ii  dbus                                  1.8.6-2                         amd64        simple interprocess messaging system (daemon and utilities)
      ii  dbus-x11                              1.8.6-2                         amd64        simple interprocess messaging system (X11 deps)
      ii  libdbus-1-3:amd64                     1.8.6-2                         amd64        simple interprocess messaging system (library)
      ii  libdbus-1-3:i386                      1.8.6-2                         i386         simple interprocess messaging system (library)
      ii  libdbus-1-dev:amd64                   1.8.6-2                         amd64        simple interprocess messaging system (development headers)
      
      PASS   : tst_QDBusAbstractAdaptor::signalEmissionsPeer(Interface2.signal)
      FAIL!  : tst_QDBusAbstractAdaptor::signalEmissionsPeer(Interface3.signalVoid) Compared values are not the same
         Actual   (((spy.count))): 6
         Expected (1)            : 1
         Loc: [../tst_qdbusabstractadaptor.cpp(1180)]
      

      not always the same test case fails, but the first one always works fine. I guess that the signals that are emitted in second part of test are delivered in the first part of the next test case.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            nierob Nierob
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes