Skip to content

Commit 9c435e3

Browse files
Fix: Freeze time to make github test determinstic
1 parent 7c31d51 commit 9c435e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integrations/github/cicd/test_github_controller.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from unittest.mock import PropertyMock, call
77

88
import pytest
9+
import time_machine
910
from pytest_mock.plugin import MockerFixture
1011

1112
from sqlmesh.core import constants as c
@@ -608,6 +609,7 @@ def test_uncategorized(
608609
assert "Run `sqlmesh plan hello_world_2` locally to apply these changes" in summary
609610

610611

612+
@time_machine.travel("2025-07-07 00:00:00 UTC", tick=False)
611613
def test_get_plan_summary_doesnt_truncate_backfill_list(
612614
github_client, make_controller: t.Callable[..., GithubController]
613615
):

0 commit comments

Comments
 (0)