From 07e3c19d55c7d8024b0fe4c9ddf0de7fa483bd08 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Thu, 14 Mar 2024 20:30:15 -0700 Subject: [PATCH] (fix) locust load test --- .github/workflows/locustfile.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/locustfile.py b/.github/workflows/locustfile.py index 3245d1726..9efe74314 100644 --- a/.github/workflows/locustfile.py +++ b/.github/workflows/locustfile.py @@ -34,25 +34,9 @@ class MyUser(HttpUser): start_time = time.time() response = self.client.get("health/readiness") response_time = time.time() - start_time - if response_time > 1: - events.request_failure.fire( - request_type="GET", - name="health/readiness", - response_time=response_time, - exception=None, - response=response, - ) @task(10) def health_liveliness(self): start_time = time.time() response = self.client.get("health/liveliness") response_time = time.time() - start_time - if response_time > 1: - events.request_failure.fire( - request_type="GET", - name="health/liveliness", - response_time=response_time, - exception=None, - response=response, - )