httpapi/tests: Do not test that a local TCP port is closed.
commit3d02e9870a3cae7b0cbb339d37dbed0749c8441a
authorZebediah Figura <zfigura@codeweavers.com>
Sat, 22 Jul 2023 01:02:16 +0000 (21 20:02 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 24 Jul 2023 20:52:22 +0000 (24 22:52 +0200)
treef2631c6edbf65052a98b713611699d7b44de3878
parent01afb21bf2b3a9c6b03847b03a1ac4a572ed49a3
httpapi/tests: Do not test that a local TCP port is closed.

I suspect the intent of this test was to verify that httpapi really doesn't bind
to that port. That HttpAddUrlToUrlGroup() fails implies this, but paranoia in a
case like this is rarely unwarranted.

However, this test cannot reliably succeed; some other operating system
component may open a TCP port in the meantime, and it appears that on Windows 10
this does in fact happen.

Since the goal of the test is just extra paranoia, I don't think it's worth
keeping.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55127
dlls/httpapi/tests/httpapi.c