dstandish commented on code in PR #39336:
URL: https://github.com/apache/airflow/pull/39336#discussion_r1586874582


##########
tests/sensors/test_base.py:
##########
@@ -382,9 +398,12 @@ def _get_tis():
         # Task is cleared
         sensor.clear()
         sensor_ti, dummy_ti = _get_tis()
-        assert sensor_ti.try_number == 2

Review Comment:
   we change this (and similar in this file) from 2 to 1 because it used to 
give us the artificially increased number (the getter returned +1 when task not 
running)



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