Lee-W commented on code in PR #33970:
URL: https://github.com/apache/airflow/pull/33970#discussion_r1312409698
##########
tests/utils/test_log_handlers.py:
##########
@@ -421,17 +421,7 @@ def task_callable(ti):
assert actual_kwargs["namespace"] == namespace_to_call
actual_selector = actual_kwargs["label_selector"]
assert re.match(
- ",".join(
- [
- "airflow_version=.+?",
- "dag_id=dag_for_testing_file_task_handler",
- "kubernetes_executor=True",
- "run_id=manual__2016-01-01T0000000000-2b88d1d57",
- "task_id=task_for_testing_file_log_handler",
- "try_number=2",
- "airflow-worker",
- ]
- ),
+
"airflow_version=.+?,dag_id=dag_for_testing_file_task_handler,kubernetes_executor=True,run_id=manual__2016-01-01T0000000000-2b88d1d57,task_id=task_for_testing_file_log_handler,try_number=2,airflow-worker",
Review Comment:
Should we try something like
```suggestion
(
"airflow_version=.+?,"
"dag_id=dag_for_testing_file_task_handler,"
"kubernetes_executor=True,"
"run_id=manual__2016-01-01T0000000000-2b88d1d57,"
"task_id=task_for_testing_file_log_handler,"
"try_number=2,"
"airflow-worker"
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]