Skip to content

Commit

Permalink
Diagnostic messages logged
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernard Szabo committed Dec 4, 2024
1 parent 28f4689 commit 738687f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tubular/scripts/dd_synthetic_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run_synthetic_tests(enable_automated_rollbacks, slack_notification_channel):
'''
PUBLIC_TEST_ID = "sad-hqu-h33"

print("In run_synthetic_tests")
logging.info("****** In run_synthetic_tests")
sys.exit(1) # To test that this script is actually being run

if enable_automated_rollbacks:
Expand All @@ -55,7 +55,7 @@ def run_synthetic_tests(enable_automated_rollbacks, slack_notification_channel):

# Fetch and print the test results
test_results = dd_client.get_test_results(test_run_id, test_requests)
print("Test results:", test_results)
logging.info("****** Test results:", test_results)

except Exception as e:
print("An error occurred:", str(e))
Expand Down

0 comments on commit 738687f

Please sign in to comment.