Commit 35a09924 authored by Milian Wolff's avatar Milian Wolff Committed by The Qt Project
Browse files

Fix tst_QWebSocket::tst_invalidOpen for catch-all DNS setups.


Instead of relying on a hostname which might still be resolved in
some DNS setups (i.e. always forward to google search or intranet),
we now try to connect to localhost port 1 which should yield a
ConnectionRefusedError.

This way, the test passes for me on my setup.

Change-Id: I025824796e94e718a42c4999706f647a72b37659
Reviewed-by: default avatarKurt Pattyn <pattyn.kurt@gmail.com>
parent daf0faa0
Branches
Tags
No related merge requests found
Showing with 5 additions and 5 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment