Skip to content

Commit 7f02321

Browse files
committed
test launching single and multi-table together
1 parent 375f773 commit 7f02321

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdgym/run_benchmark/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def post_slack_message(channel, text):
102102

103103
def 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}/')

tests/unit/run_benchmark/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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')

0 commit comments

Comments
 (0)