When the test fails, it appears TestHTTPServer::discardClient() is being called even before TestHTTPServer::readClient() (or rather, TestHTTPServer::readClient() is never being called), so the socket is deleted but the server never registers that a request was made.
On the FaviconFetcher side, the request is emitted, but immediately after I’m seeing the "QIODevice::write: device not open" warning. The test server receives the incoming connection but it is immediately disconnected so it discards the client socket.
When the test fails, it appears TestHTTPServer: :discardClient( ) is being called even before TestHTTPServer: :readClient( ) (or rather, TestHTTPServer: :readClient( ) is never being called), so the socket is deleted but the server never registers that a request was made.
On the FaviconFetcher side, the request is emitted, but immediately after I’m seeing the "QIODevice::write: device not open" warning. The test server receives the incoming connection but it is immediately disconnected so it discards the client socket.