4 ms·
It's true, but on a CI machine you may have other tests running in parallel. Even perhaps tests being run by other users/tenants. Unix domain sockets can be c
by rwmj 3y ago
It's true, but on a CI machine you may have other tests running in parallel. Even perhaps tests being run by other users/tenants.
Unix domain sockets can be confined to a randomly generated directory under /tmp and locked down with file permissions.
- jcranmer 3y agoIt's possible to bind a server so that the OS chooses which port it listens on for you, and if you set up your test infrastructure to communicate that port to the things that need to connect to said server, you can happily run several tests in parallel. This is how Firefox's networking tests run in parallel, despite many of them requiring spawning an HTTP server to connect to.