From 1d026e25513bbc8128736ff2457b236069377614 Mon Sep 17 00:00:00 2001 From: Bernard Szabo Date: Wed, 11 Dec 2024 16:36:49 -0500 Subject: [PATCH] Use batch_id for the test run --- tubular/scripts/dd_synthetic_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tubular/scripts/dd_synthetic_tests.py b/tubular/scripts/dd_synthetic_tests.py index 32d75535..ceba777a 100644 --- a/tubular/scripts/dd_synthetic_tests.py +++ b/tubular/scripts/dd_synthetic_tests.py @@ -47,7 +47,8 @@ def trigger_synthetic_tests(self, test_requests: [dict]) -> str: try: response_body = response.json() result = response_body['results'][0] - aggregate_test_run_id = result['result_id'] + # aggregate_test_run_id = result['result_id'] + aggregate_test_run_id = result['batch_id'] logging.info(f"Datadog test run launched: {aggregate_test_run_id}") self.test_run_id = aggregate_test_run_id self.trigger_time = time.time() # Key timeouts off of this