[Maas-devel] MongoDB in the test suite
Jeroen Vermeulen
jtv at canonical.com
Wed Sep 12 11:01:50 UTC 2012
On 2012-09-11 18:47, John Arbash Meinel wrote:
> b) --port is pretty obvious if we are going to be starting a server,
> we need to know where to talk to it. We can use the
> 'socket.socket()' bind-but-don't-listen trick to get a new-random
> port that we know is not already in use.
The ideal way to talk to it in tests and dev runs would be through a
Unix domain socket, but that's probably a bit much to ask for.
Jeroen
More information about the Maas-devel
mailing list