ferruzzi commented on a change in pull request #19821:
URL: https://github.com/apache/airflow/pull/19821#discussion_r760497630
##########
File path: tests/sensors/test_base.py
##########
@@ -498,6 +498,28 @@ def run_duration():
assert interval2 >= sensor.poke_interval
assert interval2 > interval1
+ @pytest.mark.backend("mysql")
+ def test_reschedule_poke_interval_too_long_on_mysql(self, make_sensor):
+ with pytest.raises(AirflowException) as ctx:
+ make_sensor(poke_interval=863998946, mode="reschedule",
return_value="irrelevant")
Review comment:
I love the immortalized poke_interval.
--
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]