Freeze SQLite annotation fixtures before PostgreSQL migration
Metadata integrity checks / metadata (push) Successful in 1m19s

This commit is contained in:
2026-11-08 18:41:38 +08:00
parent a13c535919
commit adcbbb66a2
+1
View File
@@ -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)