Skip to content

Commit 939194f

Browse files
committed
test db close()
1 parent 9f2adce commit 939194f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/helm-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ jobs:
9191
shell: bash
9292
run: sleep 10s
9393

94-
- name: Setup upterm session
95-
uses: lhotari/action-upterm@v1
94+
# - name: Setup upterm session
95+
# uses: lhotari/action-upterm@v1
9696

9797
- id: watchservices
9898
name: watch services boot

helm-chart/eoapi/initdb-data/pgstac-setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
pgdb = PgstacDB(dsn=os.environ['PGADMIN_URI'], debug=True)
2121
print(f"[ VERSION ]: {pgdb.version=}")
2222
Migrate(pgdb).run_migration(pgdb.version)
23+
pgdb.get_pool().close()
2324

2425
with psycopg.connect(admin_db_conninfo, autocommit=True) as conn:
2526
with conn.cursor() as cur:

0 commit comments

Comments
 (0)