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

tst_QWebSocketServer::tst_handshakeTimeout is flaky

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.15
    • Fix Version/s: 5.15.0 Beta2
    • Component/s: WebSockets
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      ad75d2712a838787488e817eec318fc27bae1786 (qt/qtwebsockets/5.15)

      Description

      It will sometimes fail like this:

       agent:2020/02/27 11:07:11 build.go:253: FAIL!  : tst_QWebSocketServer::tst_handshakeTimeout() Compared values are not the same
       agent:2020/02/27 11:07:11 build.go:253:    Actual   (((secureServerConnectionSpy.count()))): 0
       agent:2020/02/27 11:07:11 build.go:253:    Expected (1)                                    : 1
       agent:2020/02/27 11:07:11 build.go:253:    Loc: [tst_qwebsocketserver.cpp(805)]
      

      Usually it passes in <5s but other times it runs for ~30s and causes this failure. Could be a race of sorts, but need to investigate.

        Attachments

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

          Activity

            People

            Assignee:
            manordheim Mårten Nordheim
            Reporter:
            manordheim Mårten Nordheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes