Close the SQLite fixture before PostgreSQL migration
Metadata integrity checks / metadata (push) Successful in 9m49s

This commit is contained in:
2026-11-18 22:35:16 +08:00
parent 3acb738aa8
commit ae8bcd4c14
+1
View File
@@ -124,6 +124,7 @@ class PublicationReconciliationTests(unittest.TestCase):
conn.execute('DROP SCHEMA ' + quote(name) + ' CASCADE')
self.addCleanup(cleanup)
self.conn.close()
with redirect_stdout(io.StringIO()):
migrate(self.db, service, self.root / 'migration.json', schema=schema, min_free_gib=0)
entry = self.entries[0]