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

tst_qsocketnotifier is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.0
    • Component/s: Core: Other
    • Labels:
      None
    • Environment:
      qtbase bdc417b3828737334723eae23097c85f70c23a33
      Using QT_QPA_PLATFORM=xcb
      Qt configured with -silent -no-pch -nokia-developer -no-qt3support -force-pkg-config -qpa -xcb
      Ubuntu 10.04 x86 32-bit

      Description

      ********* Start testing of tst_QSocketNotifier *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      PASS   : tst_QSocketNotifier::initTestCase()
      PASS   : tst_QSocketNotifier::unexpectedDisconnection()
      PASS   : tst_QSocketNotifier::mixingWithTimers()
      FAIL!  : tst_QSocketNotifier::posixSockets() Compared values are not the same
         Actual (writeSpy.count()): 1
         Expected (0): 0
         Loc: [/home/hihrig/dev/qt-5-refactor/qtbase-ori/tests/auto/qsocketnotifier/tst_qsocketnotifier.cpp(297)]
      QWARN  : tst_QSocketNotifier::bogusFds() QSocketNotifier: Invalid socket 2147483647 and type 'Read', disabling...
      QWARN  : tst_QSocketNotifier::bogusFds() QSocketNotifier: Invalid socket 1023 and type 'Read', disabling...
      INFO   : tst_QSocketNotifier::bogusFds() Did not receive message: "QSocketNotifier: Internal error"
      INFO   : tst_QSocketNotifier::bogusFds() Did not receive message: "QSocketNotifier: Internal error"
      FAIL!  : tst_QSocketNotifier::bogusFds() Not all expected messages were received
      PASS   : tst_QSocketNotifier::cleanupTestCase()
      Totals: 4 passed, 2 failed, 0 skipped
      ********* Finished testing of tst_QSocketNotifier *********
      

      It fails because it is expected that the writespy is not triggered at that specific moment.

      Also there seems to be some changes in the Warning Messages

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              earthdomain Earth Domain (Inactive)
              Reporter:
              hihrig Holger Ihrig (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes