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