diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-01-16 18:38:13 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-01-17 14:31:09 +0000 |
commit | cfd54505eb54e234094258a08b327c0293c0a3e8 (patch) | |
tree | 1f99abcad6180a957c666df469b17dbbe6cb4f50 /src/plugins/cpptools/cpphoverhandler.cpp | |
parent | f9a3ac7f08b183044a04251fdda2cef1a344cc67 (diff) | |
download | qt-creator-cfd54505eb54e234094258a08b327c0293c0a3e8.tar.gz |
QmlProfiler: Improve robustness of QmlProfilerTool test
The QmlProfilerClientManager will only report connectionClosed() if the
connection was open before it dropped. If the connection never opens,
that is the hello message never arrives, it will retry a few times,
triggering the QTRY_VERIFY timeout.
We don't want the retries to succeed, so close the server after the
first connection. Furthermore we want the hello message to be
transferred before dropping the connection, so check for isConnected().
Change-Id: Ie96c48b2aaf2748d082c4bef3efe85c261ca4812
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpphoverhandler.cpp')
0 files changed, 0 insertions, 0 deletions