Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
a-masterov committed Sep 10, 2024
1 parent 841b39f commit 9ac06ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test_runner/cloud_regress/test_cloud_regress.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ def setup(remote_pg: RemotePostgres):
"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]}")
if cur.rowcount > 0:
for role in cur:
log.info("Role found: %s", role[0])
#cur.execute(f"DROP ROLE {role[0]}")
conn.commit()


Expand Down

0 comments on commit 9ac06ea

Please sign in to comment.