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

Provide helper function for verifying suitable environment for running network autotests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 5.0.0
    • Network, Testing: qtestlib
    • None

    Description

      Though apparently not documented anywhere, the network autotests are supposed to crash if an instance of the qt-test-server is not available. For symbian, at least, this doesn not happen and some tests take a very long time to terminate due to waiting for many connection attempts to timeout.

      A much better approach would be for qtestlib to provide a shared function that each network-related test could include to verify that the test server is available. Such a function could be used to allow the tests to terminate gracefully and quickly, and to output a suitably descriptive error message and hints for resolving the problem.

      Attachments

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

        Activity

          People

            macadder Jason McDonald
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes