def use_lots_of_memory(self): # Skip this step on travis if os.environ.get('TRAVIS', False): return a = Application(12345, {"bind_host": "localhost"}) a._watchdog = Watchdog(30, 50) a._tr_manager = MemoryHogTxManager() a.run()
def use_lots_of_memory(self): # Skip this step on travis if os.environ.get('TRAVIS', False): return a = Application(12345, {}) a._watchdog = Watchdog(30, 50) a._tr_manager = MemoryHogTxManager() a.run()
def fast_tornado(self): a = Application(12345, {"bind_host": "localhost"}) a._watchdog = Watchdog(6) a._tr_manager = MockTxManager() a.run()
def use_lots_of_memory(self): a = Application(12345, {}) a._watchdog = Watchdog(30, 50) a._tr_manager = MemoryHogTxManager() a.run()
def fast_tornado(self): a = Application(12345, {}) a._watchdog = Watchdog(6) a._tr_manager = MockTxManager() a.run()
def slow_tornado(self): a = Application(12345, self.AGENT_CONFIG) a._watchdog = Watchdog(4) a._tr_manager = MockTxManager() a.run()