Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't try to use a fixed port in test_server_config_default (#8272)
We had a flake regarding this. (At least on my machine?), linux never randomly assigns an even numbered port, so probably the flake collided with something external specifically looking for it? The find_available_port mechanism is fundamentally racy, of course; the port could be allocated by someone else immediately, and in testing I did manage to observe cycle lengths as short as 2 before a reuse. Possibly these tests should just have a big hammer `@retry_failed_test(3)` decorator around them or something, but I am reluctant to introduce this because I fear we will use it instead of writing proper tests. (Most tests don't have as good an excuse for flakiness as needing to allocate a shared resource in a 16-bit namespace).
- Loading branch information