Skip to content

Mysqli test cases using fake_server are flaky #16875

Closed
@cmb69

Description

@cmb69

Description

I've just stumbled upon https://github.com/php/php-src/actions/runs/11942808872/job/33290600427. The test uses port 50001 which is otherwise not explicitly used by the php-src test suite, but might be used by a test using an ephemeral port. I'm not sure, though, that a port collision is the cause of the test failure.

However, the other regression test for that issue all use port 33305 (which is also the default of the fake server); this is prone to collisions when running tests in parallel.

I think it's best to use ephemeral ports everywhere (see #6132).

PHP Version

PHP-8.4 (likely 8.1 - master)

Operating System

Windows (likely POSIX as well)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions