Skip to content

Commit

Permalink
Use batch_id for the test run
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernard Szabo committed Dec 11, 2024
1 parent ca89be5 commit 1d026e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tubular/scripts/dd_synthetic_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d026e2

Please sign in to comment.