From adcbbb66a224320f236fb28ad88405b44ddeb5b2 Mon Sep 17 00:00:00 2001 From: Codex Bot Date: Sun, 8 Nov 2026 18:41:38 +0800 Subject: [PATCH] Freeze SQLite annotation fixtures before PostgreSQL migration --- tests/test_annotations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_annotations.py b/tests/test_annotations.py index eba7a54..c7b9f0a 100644 --- a/tests/test_annotations.py +++ b/tests/test_annotations.py @@ -176,6 +176,7 @@ class PostgreSQLAnnotationTests(unittest.TestCase): def migrate(self): self.s.conn.commit() + self.s.conn.close() # Freeze/checkpoint the fixture, just like a real source migration. with redirect_stdout(io.StringIO()): return migrate(self.db, self.service, Path(self.tmp.name)/'report.json', schema=self.target, min_free_gib=0)