hussein-awala commented on code in PR #32921:
URL: https://github.com/apache/airflow/pull/32921#discussion_r1278449186


##########
airflow/timetables/trigger.py:
##########
@@ -89,7 +89,7 @@ def next_dagrun_info(
             else:
                 next_start_time = self._align_to_next(restriction.earliest)
         else:
-            start_time_candidates = [self._align_to_next(DateTime.utcnow())]
+            start_time_candidates = 
[self._align_to_next(DateTime.utcnow().replace(second=0, microsecond=0))]

Review Comment:
   This makes sense :thinking: 
   
   Could you add a test for this change? (a test which fails without resetting 
seconds and microsecond and passes after applying your change)



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