Close the SQLite fixture before PostgreSQL migration
Metadata integrity checks / metadata (push) Successful in 9m49s
Metadata integrity checks / metadata (push) Successful in 9m49s
This commit is contained in:
@@ -124,6 +124,7 @@ class PublicationReconciliationTests(unittest.TestCase):
|
|||||||
conn.execute('DROP SCHEMA ' + quote(name) + ' CASCADE')
|
conn.execute('DROP SCHEMA ' + quote(name) + ' CASCADE')
|
||||||
|
|
||||||
self.addCleanup(cleanup)
|
self.addCleanup(cleanup)
|
||||||
|
self.conn.close()
|
||||||
with redirect_stdout(io.StringIO()):
|
with redirect_stdout(io.StringIO()):
|
||||||
migrate(self.db, service, self.root / 'migration.json', schema=schema, min_free_gib=0)
|
migrate(self.db, service, self.root / 'migration.json', schema=schema, min_free_gib=0)
|
||||||
entry = self.entries[0]
|
entry = self.entries[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user