Skip to content

Commit

Permalink
Add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
a-masterov committed Sep 10, 2024
1 parent dbde226 commit fe8fee0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test_runner/cloud_regress/test_cloud_regress.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ def setup(remote_pg: RemotePostgres):
conn.rollback()
yield
log.info("Looking for extra roles...")
cur.execute(
"SELECT rolname FROM pg_catalog.pg_roles WHERE oid > 16384 AND rolname <> 'neondb_owner'"
)
log.info("Rows count: %s", cur.rowcount)
for role in cur:
cur.execute(f"DROP ROLE {role[0]}")
conn.commit()
#cur.execute(
# "SELECT rolname FROM pg_catalog.pg_roles WHERE oid > 16384 AND rolname <> 'neondb_owner'"
#)
#log.info("Rows count: %s", cur.rowcount)
#for role in cur:
# cur.execute(f"DROP ROLE {role[0]}")
#conn.commit()


@pytest.mark.timeout(7200)
Expand Down

0 comments on commit fe8fee0

Please sign in to comment.