Skip to content

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

Open
nightcityblade wants to merge 1 commit into
SQLMesh:mainfrom
nightcityblade:fix/issue-5976
Open

fix: stabilize disable restatement test at UTC boundary#5980
nightcityblade wants to merge 1 commit into
SQLMesh:mainfrom
nightcityblade:fix/issue-5976

Conversation

@nightcityblade

Copy link
Copy Markdown

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

1 participant