Ejemplo n.º 1
0
 def init_snuba(self):
     self.snuba_eventstream = SnubaEventStream()
     self.snuba_tagstore = SnubaTagStorage()
     assert all(
         response.status_code == 200
         for response in ThreadPoolExecutor(4).map(self.call_snuba, self.init_endpoints)
     )
Ejemplo n.º 2
0
 def init_snuba(self):
     self.snuba_eventstream = SnubaEventStream()
     self.snuba_tagstore = SnubaTagStorage()
     assert requests.post(settings.SENTRY_SNUBA +
                          "/tests/events/drop").status_code == 200
     assert requests.post(settings.SENTRY_SNUBA +
                          "/tests/transactions/drop").status_code == 200
Ejemplo n.º 3
0
 def init_snuba(self):
     self.snuba_eventstream = SnubaEventStream()
     self.snuba_tagstore = SnubaTagStorage()