Skip to content

Commit d3d7ceb

Browse files
committed
drop
1 parent a7093f7 commit d3d7ceb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/pytest-simcore/src/pytest_simcore/helpers/postgres_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def migrated_pg_tables_context(
6161
)
6262
)
6363
# SEE https://github.com/ITISFoundation/osparc-simcore/issues/1776
64-
metadata.drop_all(bind=postgres_engine)
64+
metadata.drop_all(bind=conn)
6565

6666

6767
def is_postgres_responsive(url) -> bool:

services/web/server/tests/unit/with_dbs/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@ def postgres_db(
536536
"WHERE state = 'idle in transaction';"
537537
)
538538
)
539+
# SEE https://github.com/ITISFoundation/osparc-simcore/issues/1776
539540
orm.metadata.drop_all(bind=conn)
540541

541542
engine.dispose()

0 commit comments

Comments
 (0)