From a695797093012cae25c4e34d69f88a0b3410bf3c Mon Sep 17 00:00:00 2001 From: Brian Mesick Date: Mon, 25 Mar 2024 11:46:19 -0400 Subject: [PATCH] feat: Store load test run Allows the monitor to wait until the run starts and share the run id with the load test script. --- .../management/commands/monitor_load_test_tracking.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform_plugin_aspects/management/commands/monitor_load_test_tracking.py b/platform_plugin_aspects/management/commands/monitor_load_test_tracking.py index aea5293..b46dfbf 100644 --- a/platform_plugin_aspects/management/commands/monitor_load_test_tracking.py +++ b/platform_plugin_aspects/management/commands/monitor_load_test_tracking.py @@ -76,6 +76,8 @@ def check_clickhouse_for_test(self) -> Union[str, None]: timeout=self.ch_timeout_secs, ) + print(response.text) + try: return response.json()["data"][0] except (KeyError, requests.exceptions.JSONDecodeError):