File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def post_slack_message(channel, text):
102102
103103def post_benchmark_launch_message (date_str , compute_service = 'AWS' , modality = 'single_table' ):
104104 """Post a message to the SDV Alerts Slack channel when the benchmark is launched."""
105- channel = SLACK_CHANNEL
105+ channel = DEBUG_SLACK_CHANNEL
106106 folder_name = get_result_folder_name (date_str )
107107 bucket , prefix = parse_s3_path (OUTPUT_DESTINATION_AWS )
108108 url_link = get_s3_console_link (bucket , f'{ prefix } { modality } /{ folder_name } /' )
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def test_post_benchmark_launch_message(
107107 mock_get_s3_console_link .assert_called_once_with (
108108 'my-bucket' , f'my-prefix/single_table/{ folder_name } /'
109109 )
110- mock_post_slack_message .assert_called_once_with ('sdv-alerts' , expected_body )
110+ mock_post_slack_message .assert_called_once_with ('sdv-alerts-debug ' , expected_body )
111111
112112
113113@patch ('sdgym.run_benchmark.utils.post_slack_message' )
You can’t perform that action at this time.
0 commit comments