Commits

Jason R. Coombs committed 03e6aea

Allow MongoDB Instance to specify a bind_ip. Disable httpinterface and syncdelay.

Comments (0)

Files changed (1)

jaraco/test/services.py

             '--port', str(self.port),
             '--noprealloc',
             '--nojournal',
+            '--nohttpinterface',
+            '--syncdelay', '0',
         ]
+        if hasattr(self, 'bind_ip'):
+            cmd.extend(['--bind_ip', self.bind_ip])
         self.process = subprocess.Popen(cmd, stdout=self.get_log())
         self.wait_for_occupied_port(self.port)
         log.info('{self} listening on {self.port}'.format(**vars()))