示例#1
0
 def test_run(self):
     ingest.terminate(True)
     ingest.run()
     ingest.terminate = terminate_fn(1)
     ingest.run()
     config.config('agent')['backup_mode'] = True
     ingest.run()
示例#2
0
 def test_run(self):
     capture.terminate = terminate_fn(1)
     capture.run()
示例#3
0
 def test_run(self):
     schedule.terminate = terminate_fn(2)
     schedule.run()
示例#4
0
 def test_run(self):
     agentstate.terminate = terminate_fn(1)
     try:
         agentstate.run()
     except Exception:
         assert False
示例#5
0
 def test_run(self):
     agentstate.terminate = terminate_fn(1)
     try:
         agentstate.run()
     except Exception:
         self.fail()
示例#6
0
 def test_run(self):
     schedule.terminate = terminate_fn(2)
     schedule.run()
示例#7
0
 def test_run(self):
     ingest.terminate(True)
     ingest.run()
     ingest.terminate = terminate_fn(1)
     ingest.run()