コード例 #1
0
 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()
コード例 #2
0
ファイル: test_watchdog.py プロジェクト: wang-arthur/dd-agent
 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()
コード例 #3
0
ファイル: test_watchdog.py プロジェクト: etrepum/dd-agent
 def fast_tornado(self):
     a = Application(12345, {"bind_host": "localhost"})
     a._watchdog = Watchdog(6)
     a._tr_manager = MockTxManager()
     a.run()
コード例 #4
0
ファイル: test_watchdog.py プロジェクト: dwradcliffe/dd-agent
 def use_lots_of_memory(self):
     a = Application(12345, {})
     a._watchdog = Watchdog(30, 50)
     a._tr_manager = MemoryHogTxManager()
     a.run()
コード例 #5
0
ファイル: test_watchdog.py プロジェクト: dwradcliffe/dd-agent
 def fast_tornado(self):
     a = Application(12345, {})
     a._watchdog = Watchdog(6)
     a._tr_manager = MockTxManager()
     a.run()
コード例 #6
0
ファイル: test_watchdog.py プロジェクト: wang-arthur/dd-agent
 def fast_tornado(self):
     a = Application(12345, {})
     a._watchdog = Watchdog(6)
     a._tr_manager = MockTxManager()
     a.run()
コード例 #7
0
 def slow_tornado(self):
     a = Application(12345, self.AGENT_CONFIG)
     a._watchdog = Watchdog(4)
     a._tr_manager = MockTxManager()
     a.run()
コード例 #8
0
ファイル: test_watchdog.py プロジェクト: motusllc/dd-agent
 def slow_tornado(self):
     a = Application(12345, self.AGENT_CONFIG)
     a._watchdog = Watchdog(4)
     a._tr_manager = MockTxManager()
     a.run()
コード例 #9
0
ファイル: test_watchdog.py プロジェクト: p1r4te/dd-agent
 def fast_tornado(self):
     a = Application(12345, {"bind_host": "localhost"})
     a._watchdog = Watchdog(6)
     a._tr_manager = MockTxManager()
     a.run()