Skip to content

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Nov 20, 2024

Alternatively, we could choose another port, but that likely will conflict with some other test in the future. The proper solution would be to use ephemeral ports[1], but our OpenSSL ServerClientTestCase does not support this yet.

[1] 6ab4e33


In the long run, we should probably unify the different test servers anyway.

PS: found via https://github.com/php/php-src/actions/runs/11925029888/job/33236457305

Alternatively, we could choose another port, but that likely will
conflict with some other test in the future.  The proper solution would
be to use ephemeral ports[1], but our OpenSSL `ServerClientTestCase`
does not support this yet.

[1] <php@6ab4e33>
@nielsdos
Copy link
Member

Why not just change one of them to a port number that's still free?

@cmb69
Copy link
Member Author

cmb69 commented Nov 25, 2024

I find it tedious to search for a free port (and if users do in-tree builds of external extensions, we can't even know), but I don't mind which workaround we apply. 64327 doesn't look to be in use by the rest of the test suite, so used this.

@cmb69 cmb69 closed this in 0b5de30 Nov 25, 2024
@cmb69 cmb69 deleted the cmb/port64324 branch November 25, 2024 21:08
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
This port is already used by san_ipv6_peer_matching.phpt, wo we choose
another port which is not explicitly used in our test suite.  The
proper solution would be to use ephemeral ports[1], but our OpenSSL
`ServerClientTestCase` does not support this yet.

[1] <php@6ab4e33>

Closes phpGH-16871.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants