Skip to content

fix: stabilize disable restatement test at UTC boundary - #5980

Merged
cmgoffena13 merged 2 commits into
SQLMesh:mainfrom
nightcityblade:fix/issue-5976
Aug 25, 2026
Merged

fix: stabilize disable restatement test at UTC boundary#5980
cmgoffena13 merged 2 commits into
SQLMesh:mainfrom
nightcityblade:fix/issue-5976

Conversation

@nightcityblade

Copy link
Copy Markdown
Contributor

Description

Fixes #5976.

Pin test_disable_restatement to a fixed mid-day UTC timestamp so the plan build and its relative tomorrow assertion cannot cross a UTC date boundary during a long test run.

Test Plan

  • uv run --no-sync pytest tests/core/test_plan.py::test_disable_restatement -q -n 0 (1 passed)
  • uv run --no-sync ruff check tests/core/test_plan.py
  • uv run --no-sync ruff format --check tests/core/test_plan.py

Checklist

  • I have run make style and fixed any issues
  • I have added tests for my changes (if applicable)
  • All existing tests pass (make fast-test)
  • My commits are signed off (git commit -s) per the DCO

Signed-off-by: nightcityblade <nightcityblade@gmail.com>
@cmgoffena13 cmgoffena13 self-assigned this Aug 24, 2026
@cmgoffena13
cmgoffena13 merged commit db84671 into SQLMesh:main Aug 25, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI Fix - tests/core/test_plan.py::test_disable_restatement -- UTC Boundary

2 participants