mik-laj commented on a change in pull request #18651:
URL: https://github.com/apache/airflow/pull/18651#discussion_r719681242



##########
File path: tests/core/test_configuration.py
##########
@@ -703,5 +703,20 @@ def test_enum_default_task_weight_rule_from_conf(self):
         with pytest.raises(AirflowConfigException) as ctx:
             test_conf.validate()
         exception = str(ctx.value)
-        message = "sidestream is not an accepted config for [core] 
default_task_weight_rule"
+        message = (
+            "[core] default_task_weight_rule` should not be 'sidestream'. 
Possible values: "
+            "upstream, downstream, absolute"

Review comment:
       Displaying the available options will help us troubleshoot configuration 
problems.




-- 
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]


Reply via email to