We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea3e749 commit d9b88f3Copy full SHA for d9b88f3
2 files changed
sqlmesh/core/state_sync/db/snapshot.py
@@ -49,6 +49,8 @@
49
class SnapshotState:
50
SNAPSHOT_BATCH_SIZE = 1000
51
52
+ foo = 5
53
+
54
def __init__(
55
self,
56
engine_adapter: EngineAdapter,
tests/core/state_sync/test_state_sync.py
@@ -1255,9 +1255,7 @@ def test_delete_expired_snapshots_promoted(
1255
env.snapshots_ = []
1256
state_sync.promote(env)
1257
1258
- # now_timestamp_mock = mocker.patch("sqlmesh.core.state_sync.db.snapshot.now_timestamp")
1259
now_timestamp_mock = mocker.patch("sqlmesh.core.state_sync.db.facade.now_timestamp")
1260
-
1261
now_timestamp_mock.return_value = now_timestamp() + 11000
1262
1263
assert state_sync.delete_expired_snapshots() == [
0 commit comments