ashb commented on code in PR #43722:
URL: https://github.com/apache/airflow/pull/43722#discussion_r1831128169


##########
tests_common/pytest_plugin.py:
##########
@@ -1243,7 +1246,12 @@ def maker(
         ti.state = state
         ti.external_executor_id = external_executor_id
         ti.map_index = map_index
-
+        if hostname:
+            ti.hostname = hostname
+        if pid:
+            ti.pid = pid
+        if last_heartbeat_at:
+            ti.last_heartbeat_at = last_heartbeat_at

Review Comment:
   Nit: since these are nullable columns with defaults anyway
   ```suggestion
           ti.hostname = hostname
           ti.pid = pid
           ti.last_heartbeat_at = last_heartbeat_at
   ```



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