Skip to content

Replace mock.patch("utcnow") with time_machine in Edge Executor - #53670

Merged
ashb merged 1 commit into
mainfrom
time-machine-in-edge-exec-tests
Jul 23, 2025
Merged

Replace mock.patch("utcnow") with time_machine in Edge Executor#53670
ashb merged 1 commit into
mainfrom
time-machine-in-edge-exec-tests

Conversation

@ashb

@ashbashb commented Jul 23, 2025

Copy link
Copy Markdown
Member

This one was missed in #53642

As part of a future PR (#53149) we are going to move the location of this function, and more generally we shouldn't be mocking a specific function, time_machine is better suited to this task.

@ashb
ashb requested a review from jscheffl as a code ownerJuly 23, 2025 13:11
@boring-cyborgboring-cyborgBot added area:providers provider:edge Edge Executor / Worker (AIP-69) / edge3 labels Jul 23, 2025
@ashb
ashb merged commit 7b0e775 into mainJul 23, 2025
73 checks passed
@ashb
ashb deleted the time-machine-in-edge-exec-tests branch July 23, 2025 13:36
@jscheffl

Copy link
Copy Markdown
Contributor

Cool, thanks for the fix!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providersprovider:edgeEdge Executor / Worker (AIP-69) / edge3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@ashb@jscheffl@ephraimbuddy@kaxil