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) )
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
def init_snuba(self): self.snuba_eventstream = SnubaEventStream() self.snuba_tagstore = SnubaTagStorage()