← Back to team overview

maas-devel team mailing list archive

Re: MongoDB in the test suite

 

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



Follow ups

References