Beispiel #1
0
def setup():
    add_engines(1, total=True)
Beispiel #2
0
def setup():
    add_engines(3, total=True)
Beispiel #3
0
 def minimum_engines(self, n=1, block=True):
     """add engines until there are at least n connected"""
     self.engines.extend(add_engines(n, total=True))
     if block:
         self.wait_on_engines()
Beispiel #4
0
 def add_engines(self, n=1, block=True):
     """add multiple engines to our cluster"""
     self.engines.extend(add_engines(n))
     if block:
         self.wait_on_engines()
Beispiel #5
0
 def minimum_engines(self, n=1, block=True):
     """add engines until there are at least n connected"""
     self.engines.extend(add_engines(n, total=True))
     if block:
         self.wait_on_engines()
Beispiel #6
0
 def add_engines(self, n=1, block=True):
     """add multiple engines to our cluster"""
     self.engines.extend(add_engines(n))
     if block:
         self.wait_on_engines()